From f76a01ecc7fb8e4fc3e704fa79fd3f241dd1210b Mon Sep 17 00:00:00 2001 From: Couriersud Date: Wed, 26 Dec 2007 00:47:40 +0000 Subject: [PATCH] - Fixes mwalk0122red The peplus games I tested (pexp0019, peps0716, pebe0014 and pepp0188) did not hang so this should be ok for peplus and mwalk --- src/emu/cpu/i8051/i8051.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/cpu/i8051/i8051.c b/src/emu/cpu/i8051/i8051.c index 3cfe4c7e27c..142ee0c2191 100644 --- a/src/emu/cpu/i8051/i8051.c +++ b/src/emu/cpu/i8051/i8051.c @@ -407,7 +407,7 @@ static READ32_HANDLER((*hold_eram_iaddr_callback)); #define SERIALPORT_IRQ ((R_SCON & 0x03) && GET_ES) #if (HAS_I8052 || HAS_I8752) -#define NO_PENDING_IRQ !(R_TCON & 0xaa) && !(SERIALPORT_IRQ) && !GET_ET2 //!GET_TF2 && !GET_EXF2 +#define NO_PENDING_IRQ !(R_TCON & 0xaa) && !(SERIALPORT_IRQ) && !(GET_ET2 && (GET_TF2 || GET_EXF2)) #else #define NO_PENDING_IRQ !(R_TCON & 0xaa) && !(SERIALPORT_IRQ) #endif