AxibugEmuOnline/virtuanessrc097-master/NES/Mapper/Mapper108.cpp

14 lines
822 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//////////////////////////////////////////////////////////////////////////
// Mapper108 //
//////////////////////////////////////////////////////////////////////////
void Mapper108::Reset()
{
SetPROM_32K_Bank( 0xC,0xD,0xE,0xF );
SetPROM_8K_Bank( 3, 0 );
}
void Mapper108::Write( WORD addr, BYTE data )
{
SetPROM_8K_Bank( 3, data );
}