1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-03 05:29:39 +00:00

irq is uint8_t

This commit is contained in:
Stephen Crane 2019-03-03 17:07:23 +00:00
parent 8431162ab3
commit 6918621c34

4
z80.h
View File

@ -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);