summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/skylncr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/skylncr.cpp')
-rw-r--r--src/mame/drivers/skylncr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/skylncr.cpp b/src/mame/drivers/skylncr.cpp
index 0efea30de67..275cc6d0166 100644
--- a/src/mame/drivers/skylncr.cpp
+++ b/src/mame/drivers/skylncr.cpp
@@ -434,8 +434,8 @@ READ_LINE_MEMBER(skylncr_state::mbutrfly_prot_r)
READ8_MEMBER(skylncr_state::bdream97_opcode_r)
{
- address_space_debug_wrapper program(m_maincpu->space(AS_PROGRAM), space.debugger_access());
- return program.space().read_byte(offset) ^ 0x80;
+ auto dis = machine().disable_side_effect();
+ return m_maincpu->space(AS_PROGRAM).read_byte(offset) ^ 0x80;
}