AxibugEmuOnline/References/VirtuaNESex_src_191105/NES/Mapper/Mapper094.cpp

15 lines
439 B
C++
Raw Normal View History

2024-08-05 17:58:53 +08:00
//////////////////////////////////////////////////////////////////////////
// Mapper094 Capcom 74161/32 //
//////////////////////////////////////////////////////////////////////////
void Mapper094::Reset()
{
SetPROM_32K_Bank( 0, 1, PROM_8K_SIZE-2, PROM_8K_SIZE-1 );
}
void Mapper094::Write( WORD addr, BYTE data )
{
if( (addr&0xFFF0) == 0xFF00 ) {
SetPROM_16K_Bank( 4, (data>>2)&0x7 );
}
}