mirror of
https://github.com/holub/mame
synced 2025-05-23 06:08:48 +03:00
lr35902: do not clear the interrupt flag when the cpu is halted and no interrupt is taken.
This commit is contained in:
parent
6274492060
commit
45c5b38c2d
@ -266,7 +266,6 @@ INLINE void lr35902_ProcessInterrupts (lr35902_state *cpustate)
|
|||||||
if (cpustate->w.enable & HALTED)
|
if (cpustate->w.enable & HALTED)
|
||||||
{
|
{
|
||||||
cpustate->w.enable &= ~HALTED;
|
cpustate->w.enable &= ~HALTED;
|
||||||
cpustate->w.IF &= ~(1 << irqline);
|
|
||||||
cpustate->w.PC++;
|
cpustate->w.PC++;
|
||||||
if ( cpustate->w.features & LR35902_FEATURE_HALT_BUG ) {
|
if ( cpustate->w.features & LR35902_FEATURE_HALT_BUG ) {
|
||||||
if ( ! cpustate->w.enable & IME ) {
|
if ( ! cpustate->w.enable & IME ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user