Core/burn/drv/pst90s/d_news.cpp
// Function to Allocate and Index required memory
Function to Allocate and Index required memory
Function to Allocate and Index required memory
static INT32 MemIndex()
{
	UINT8 *Next; Next = Mem;
	NewsRom              = Next; Next += 0x10000;
	MSM6295ROM           = Next; Next += 0x40000;
	RamStart = Next;
	NewsRam              = Next; Next += 0x02000;
	NewsFgVideoRam       = Next; Next += 0x00800;
	NewsBgVideoRam       = Next; Next += 0x00800;
	NewsPaletteRam       = Next; Next += 0x00200;
	RamEnd = Next;
	NewsTiles            = Next; Next += (16384 * 8 * 8);
	NewsPalette          = (UINT32*)Next; Next += 0x00100 * sizeof(UINT32);
	MemEnd = Next;
	return 0;
}
static INT32 MemIndex ( ) { UINT8 * Next ; Next = Mem ; NewsRom = Next ; Next += 0x10000 ; MSM6295ROM = Next ; Next += 0x40000 ; RamStart = Next ; NewsRam = Next ; Next += 0x02000 ; NewsFgVideoRam = Next ; Next += 0x00800 ; NewsBgVideoRam = Next ; Next += 0x00800 ; NewsPaletteRam = Next ; Next += 0x00200 ; RamEnd = Next ; NewsTiles = Next ; Next += ( 16384 * 8 * 8 ) ; NewsPalette = ( UINT32 * ) Next ; Next += 0x00100 * sizeof ( UINT32 ) ; MemEnd = Next ; return 0 ; }
Function to Allocate and Index required memory
Function to Allocate and Index required memory