summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2026-05-15 15:40:27 +0200
committer hap <happppp@users.noreply.github.com>2026-05-15 15:40:40 +0200
commit4e93fc2bf0f6acf91ebf8bb3b8d2db3036a688f8 (patch)
tree2606d6b999ba76a6a75587fc9f2fa7ced52d1600
parent571f3d4b723373e8ede3dd18931d88857fa84dfc (diff)
crshrace: workaround for ioport frame_update port access
-rw-r--r--src/mame/vsystem/crshrace.cpp2
1 files changed, 1 insertions, 1 deletions
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)