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

27 lines
601 B
C++

//////////////////////////////////////////////////////////////////////////
// Mapper067 SunSoft Mapper 3 //
//////////////////////////////////////////////////////////////////////////
class Mapper067 : public Mapper
{
public:
Mapper067( NES* parent ) : Mapper(parent) {}
void Reset();
void Write(WORD addr, BYTE data);
void Clock(INT cycles);
// For state save
BOOL IsStateSave() { return TRUE; }
void SaveState( LPBYTE p );
void LoadState( LPBYTE p );
protected:
BYTE irq_enable;
BYTE irq_occur;
BYTE irq_toggle;
INT irq_counter;
private:
};