diff options
| author | 2007-12-26 00:47:40 +0000 | |
|---|---|---|
| committer | 2007-12-26 00:47:40 +0000 | |
| commit | f76a01ecc7fb8e4fc3e704fa79fd3f241dd1210b (patch) | |
| tree | 999795bdfa5e1a4200e2ac5ce3958106a83458bf /src | |
| parent | bf79fa49484679650e6184682ce5775871d12e18 (diff) | |
- Fixes mwalk0122red
The peplus games I tested (pexp0019, peps0716, pebe0014 and pepp0188) did not hang so this should be ok for peplus and mwalk
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/cpu/i8051/i8051.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
