summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-03-02 14:57:54 +0100
committer hap <happppp@users.noreply.github.com>2025-03-02 14:58:04 +0100
commitfa5c0fa3ee739d4146d1f87bba5772cfcc75b35b (patch)
tree4f7d7acab496fb95a03bad85ded9e0f15fe4835c /src
parenta7e0a2fd50fbd8d7cf30d63a523043e1967adb8a (diff)
kinst: add debugger side effects check after prev commit
Diffstat (limited to 'src')
-rw-r--r--src/mame/rare/kinst.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/rare/kinst.cpp b/src/mame/rare/kinst.cpp
index fae98c70126..a3d8f691bc4 100644
--- a/src/mame/rare/kinst.cpp
+++ b/src/mame/rare/kinst.cpp
@@ -505,7 +505,8 @@ uint32_t kinst_state::rom_r(offs_t offset)
{
// add RdRdy clocks on EPROM access
// bootup sequence takes approx. 6 seconds, and it's not a CPU clock divider
- m_maincpu->adjust_icount(-128);
+ if (!machine().side_effects_disabled())
+ m_maincpu->adjust_icount(-128);
return m_rombase[offset];
}