From 38eea41ce57978daf9e5482e00b565e97d2ed27f Mon Sep 17 00:00:00 2001 From: pjht Date: Thu, 14 Mar 2024 12:47:03 -0500 Subject: [PATCH] Fix bus error return not setting proper state --- src/m68k.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/m68k.rs b/src/m68k.rs index 64e276f..e26b476 100644 --- a/src/m68k.rs +++ b/src/m68k.rs @@ -747,6 +747,8 @@ impl M68K { } else if last_cycle.is_err() { self.stored_mem_cycles.pop(); } + self.use_stored_mem_cycles = true; + self.handling_bus_error = false; } if format == 0 { // Nothing extra needed } else {