Core/burn/drv/capcom/cps_mem.cpp
// Map the correct bank of obj memory to the 68000 address space (including mirrors).
Map the correct bank of obj memory to the 68000 address space (including mirrors).
Map the correct bank of obj memory to the 68000 address space ( including mirrors ) .
void CpsMapObjectBanks(INT32 nBank)
{
	if (nBank != nCpsObjectBank) {
		nCpsObjectBank = nBank;
		if (nCpsObjectBank) {
			SekMapMemory(CpsRam708 + 0x8000, 0x708000, 0x709FFF, SM_RAM);
			SekMapMemory(CpsRam708 + 0x8000, 0x70A000, 0x70BFFF, SM_RAM);
			SekMapMemory(CpsRam708 + 0x8000, 0x70C000, 0x70DFFF, SM_RAM);
			SekMapMemory(CpsRam708 + 0x8000, 0x70E000, 0x70FFFF, SM_RAM);
		} else {
			SekMapMemory(CpsRam708, 0x708000, 0x709FFF, SM_RAM);
			SekMapMemory(CpsRam708, 0x70A000, 0x70BFFF, SM_RAM);
			SekMapMemory(CpsRam708, 0x70C000, 0x70DFFF, SM_RAM);
			SekMapMemory(CpsRam708, 0x70E000, 0x70FFFF, SM_RAM);
		}
	}
}
void CpsMapObjectBanks ( INT32 nBank ) { if ( nBank != nCpsObjectBank ) { nCpsObjectBank = nBank ; if ( nCpsObjectBank ) { SekMapMemory ( CpsRam708 + 0x8000 , 0x708000 , 0x709FFF , SM_RAM ) ; SekMapMemory ( CpsRam708 + 0x8000 , 0x70A000 , 0x70BFFF , SM_RAM ) ; SekMapMemory ( CpsRam708 + 0x8000 , 0x70C000 , 0x70DFFF , SM_RAM ) ; SekMapMemory ( CpsRam708 + 0x8000 , 0x70E000 , 0x70FFFF , SM_RAM ) ; } else { SekMapMemory ( CpsRam708 , 0x708000 , 0x709FFF , SM_RAM ) ; SekMapMemory ( CpsRam708 , 0x70A000 , 0x70BFFF , SM_RAM ) ; SekMapMemory ( CpsRam708 , 0x70C000 , 0x70DFFF , SM_RAM ) ; SekMapMemory ( CpsRam708 , 0x70E000 , 0x70FFFF , SM_RAM ) ; } } }
Map the correct bank of obj memory to the 68000 address space (including mirrors).
Map the correct bank of obj memory to the 68000 address space ( including mirrors ) .