forked from sin365/AxibugEmuOnline
27 lines
1.2 KiB
C++
27 lines
1.2 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
||
// Mapper024 Konami VRC6 (Normal) //
|
||
//////////////////////////////////////////////////////////////////////////
|
||
class Mapper024 : public Mapper
|
||
{
|
||
public:
|
||
Mapper024( 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_counter;
|
||
BYTE irq_latch;
|
||
INT irq_clock;
|
||
|
||
private:
|
||
};
|