Core/burn/drv/dataeast/d_simpl156.cpp
// use INT type for ADDRESS to kill mingw warnings
use INT type for ADDRESS to kill mingw warnings
use INT type for ADDRESS to kill mingw warnings
static void CommonWrite32(INT32 address, UINT32 data)
{
	Write16Long(DrvArmRAM,			0x000000, 0x007fff) 
	Write16Long(DrvSprRAM,			0x010000, 0x011fff) 
	Write16Long(DrvPalRAM,			0x020000, 0x020fff) 
	Write16Long(((UINT8*)deco16_pf_control[0]),	0x040000, 0x04001f) 
	Write16Long(deco16_pf_ram[0],		0x050000, 0x051fff) 
	Write16Long(deco16_pf_ram[0],		0x052000, 0x053fff)  mirror
	Write16Long(deco16_pf_ram[1],		0x054000, 0x055fff) 
	Write16Long(deco16_pf_rowscroll[0],	0x060000, 0x061fff) 
	Write16Long(deco16_pf_rowscroll[1],	0x064000, 0x065fff) 
	if (address == 0x030000) {
		oki_set_bank(data);
		EEPROMWrite(data & 0x20, data & 0x40, data & 0x10);
		return;
	}
}
static void CommonWrite32 ( INT32 address , UINT32 data ) { Write16Long ( DrvArmRAM , 0x000000 , 0x007fff ) Write16Long ( DrvSprRAM , 0x010000 , 0x011fff ) Write16Long ( DrvPalRAM , 0x020000 , 0x020fff ) Write16Long ( ( ( UINT8 * ) deco16_pf_control [ 0 ] ) , 0x040000 , 0x04001f ) Write16Long ( deco16_pf_ram [ 0 ] , 0x050000 , 0x051fff ) Write16Long ( deco16_pf_ram [ 0 ] , 0x052000 , 0x053fff ) Write16Long ( deco16_pf_ram [ 1 ] , 0x054000 , 0x055fff ) Write16Long ( deco16_pf_rowscroll [ 0 ] , 0x060000 , 0x061fff ) Write16Long ( deco16_pf_rowscroll [ 1 ] , 0x064000 , 0x065fff ) if ( address == 0x030000 ) { oki_set_bank ( data ) ; EEPROMWrite ( data & 0x20 , data & 0x40 , data & 0x10 ) ; return ; } }
use INT type for ADDRESS to kill mingw warnings
use INT type for ADDRESS to kill mingw warnings
// 16-bit // 16-bit // 16-bit // 16-bit // 16-bit // 16-bit mirror // 16-bit // 16-bit // 16-bit