forked from sin365/AxibugEmuOnline
28 lines
1.2 KiB
C++
28 lines
1.2 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
||
// VS-Unisystem Zapper //
|
||
//////////////////////////////////////////////////////////////////////////
|
||
class EXPAD_VSZapper : public EXPAD
|
||
{
|
||
public:
|
||
EXPAD_VSZapper( NES* parent ) : EXPAD( parent ) {}
|
||
|
||
void Reset();
|
||
void Strobe();
|
||
|
||
BYTE Read4016();
|
||
BYTE Read4017();
|
||
|
||
void Sync();
|
||
void SetSyncData( INT type, LONG data );
|
||
LONG GetSyncData( INT type );
|
||
|
||
protected:
|
||
BYTE readlatch[2];
|
||
|
||
LONG zapper_x, zapper_y;
|
||
BYTE zapper_button;
|
||
BYTE zapper_offscreen;
|
||
|
||
private:
|
||
};
|