02714: 3stooges: Speech works for a while, then starts going in and out of horrible noise and static

Interim fix, waiting until 0.129 is done before trying to sort out IRQ
handling for real.
This commit is contained in:
Aaron Giles 2008-12-31 02:36:09 +00:00
parent a08644c8ff
commit 200345b6da

View File

@ -71,6 +71,7 @@
* RDOP read an opcode
***************************************************************/
#define RDOP() memory_decrypted_read_byte(cpustate->space, PCW++); cpustate->icount -= 1
#define PEEKOP() memory_decrypted_read_byte(cpustate->space, PCW)
/***************************************************************
* RDOPARG read an opcode argument
@ -435,7 +436,9 @@
***************************************************************/
#define CLI \
if ((cpustate->irq_state != CLEAR_LINE) && (P & F_I)) { \
cpustate->after_cli = 1; \
/* kludge for now until IRQ rewrite: ignore if RTI follows */ \
if (PEEKOP() != 0x40) \
cpustate->after_cli = 1; \
} \
P &= ~F_I