mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-26 14:29:31 +00:00
minor changes
This commit is contained in:
parent
a2c3a54287
commit
ed268ed430
13
ps2drv.h
13
ps2drv.h
@ -29,6 +29,19 @@ public:
|
|||||||
|
|
||||||
#define is_down(scan) ((scan) < 0x100)
|
#define is_down(scan) ((scan) < 0x100)
|
||||||
|
|
||||||
|
#undef PS2_F1
|
||||||
|
#undef PS2_F2
|
||||||
|
#undef PS2_F3
|
||||||
|
#undef PS2_F4
|
||||||
|
#undef PS2_F5
|
||||||
|
#undef PS2_F6
|
||||||
|
#undef PS2_F7
|
||||||
|
#undef PS2_F8
|
||||||
|
#undef PS2_F9
|
||||||
|
#undef PS2_F10
|
||||||
|
#undef PS2_F11
|
||||||
|
#undef PS2_F12
|
||||||
|
|
||||||
#define PS2_F1 0x05
|
#define PS2_F1 0x05
|
||||||
#define PS2_F2 0x06
|
#define PS2_F2 0x06
|
||||||
#define PS2_F3 0x04
|
#define PS2_F3 0x04
|
||||||
|
1
z80.h
1
z80.h
@ -64,6 +64,7 @@ public:
|
|||||||
|
|
||||||
inline unsigned long ts() { return _ts; }
|
inline unsigned long ts() { return _ts; }
|
||||||
inline void ts(int t) { _ts += t; }
|
inline void ts(int t) { _ts += t; }
|
||||||
|
inline void reset_ts() { _ts = 0; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _handle_interrupt();
|
void _handle_interrupt();
|
||||||
|
Loading…
Reference in New Issue
Block a user