summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2011-09-29 20:03:07 +0000
committer Olivier Galibert <galibert@pobox.com>2011-09-29 20:03:07 +0000
commitea6d796a33c8643281c8b1a74613fd4e825bfbfc (patch)
treea904ce9aeb0a3698b2344bdfd5fdf1f85166534f /src/emu
parent6b541725f98db7851541d5b492c547839ecc2897 (diff)
m68000: Reset the double-bus/adress-error flag where appropriate to avoid halting on consecutive but not linked exceptions [O. Galibert]
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/cpu/m68000/m68kcpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.c b/src/emu/cpu/m68000/m68kcpu.c
index b87cf0022b9..09ea02d9199 100644
--- a/src/emu/cpu/m68000/m68kcpu.c
+++ b/src/emu/cpu/m68000/m68kcpu.c
@@ -741,6 +741,7 @@ static CPU_EXECUTE( m68k )
if (!m68k->pmmu_enabled)
{
+ m68k->run_mode = RUN_MODE_NORMAL;
/* Read an instruction and call its handler */
m68k->ir = m68ki_read_imm_16(m68k);
m68k->jump_table[m68k->ir](m68k);
@@ -748,6 +749,7 @@ static CPU_EXECUTE( m68k )
}
else
{
+ m68k->run_mode = RUN_MODE_NORMAL;
// save CPU address registers values at start of instruction
int i;
UINT32 tmp_dar[16];