itech/capbowl.cpp: Add machine().side_effects_disabled() check for debug (#12236)

This commit is contained in:
cam900 2024-04-12 22:30:41 +09:00 committed by GitHub
parent c5c8474c6f
commit 15e56ea331
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -309,7 +309,8 @@ uint8_t bowlrama_state::blitter_r(offs_t offset)
// Read data and increment address
case 4:
result = data;
m_blitter_addr = (m_blitter_addr + 1) & 0x3ffff;
if (!machine().side_effects_disabled())
m_blitter_addr = (m_blitter_addr + 1) & 0x3ffff;
break;
default: