AxibugEmuOnline/References/VirtuaNESex_src_191105/NES/Mapper/Mapper174.h
2024-08-05 17:58:53 +08:00

21 lines
571 B
C++

//////////////////////////////////////////////////////////////////////////
// Mapper174 //
//////////////////////////////////////////////////////////////////////////
class Mapper174 : public Mapper
{
public:
Mapper174( NES* parent ) : Mapper(parent) {}
void Reset();
void WriteLow( WORD addr, BYTE data );
void Write( WORD addr, BYTE data );
protected:
INT reg[11];
INT prg0, prg1;
INT chr01, chr23, chr4, chr5, chr6, chr7;
private:
void SetBank_CPU();
void SetBank_CPU_L();
void SetBank_PPU();
};