From 4e93fc2bf0f6acf91ebf8bb3b8d2db3036a688f8 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 15 May 2026 15:40:27 +0200 Subject: crshrace: workaround for ioport frame_update port access --- src/mame/vsystem/crshrace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/vsystem/crshrace.cpp b/src/mame/vsystem/crshrace.cpp index 02bfeccb826..c7fb9cd9b31 100644 --- a/src/mame/vsystem/crshrace.cpp +++ b/src/mame/vsystem/crshrace.cpp @@ -355,7 +355,7 @@ void crshrace_state::sh_bankswitch_w(uint8_t data) int crshrace_state::soundlatch_pending_r() { - if (!machine().side_effects_disabled()) + if (!machine().side_effects_disabled() && m_maincpu->executing()) { // retry_access() forces the z80 to catch up before maincpu does the read if (!m_z80_sync) -- cgit v1.2.3