Correct INT handling on Z80

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-11-16 23:38:51 +00:00
parent e670482721
commit 195b0e19bd

View File

@ -725,6 +725,7 @@ int EightBit::Z80::step() {
handleNMI();
handled = true;
} else if (lowered(INT())) {
lowerINT();
raiseHALT();
if (IFF1()) {
handleINT();