mirror of
https://github.com/jscrane/r65emu.git
synced 2025-02-08 22:30:40 +00:00
irq is uint8_t
This commit is contained in:
parent
8431162ab3
commit
6918621c34
4
z80.h
4
z80.h
@ -11,7 +11,7 @@ public:
|
|||||||
|
|
||||||
void run(unsigned);
|
void run(unsigned);
|
||||||
void reset();
|
void reset();
|
||||||
void raise(int level) { _irq_pending = level; }
|
void raise(uint8_t level) { _irq_pending = level; }
|
||||||
char *status(char *buf, size_t n, bool hdr=false);
|
char *status(char *buf, size_t n, bool hdr=false);
|
||||||
|
|
||||||
void checkpoint(Stream &);
|
void checkpoint(Stream &);
|
||||||
@ -145,7 +145,7 @@ private:
|
|||||||
|
|
||||||
unsigned long _ts;
|
unsigned long _ts;
|
||||||
|
|
||||||
int _irq_pending;
|
uint8_t _irq_pending;
|
||||||
PortDevice<z80> *_ports;
|
PortDevice<z80> *_ports;
|
||||||
|
|
||||||
uint8_t parity(uint8_t);
|
uint8_t parity(uint8_t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user