irq is uint8_t

This commit is contained in:
Stephen Crane 2019-03-03 17:07:23 +00:00
parent 8431162ab3
commit 6918621c34
1 changed files with 2 additions and 2 deletions

4
z80.h
View File

@ -11,7 +11,7 @@ public:
void run(unsigned);
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);
void checkpoint(Stream &);
@ -145,7 +145,7 @@ private:
unsigned long _ts;
int _irq_pending;
uint8_t _irq_pending;
PortDevice<z80> *_ports;
uint8_t parity(uint8_t);