summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-09-30 00:49:17 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-09-30 00:49:22 -0400
commitdb9a9c2dc7ebcae0bd24395456381c1ebb20ae53 (patch)
treec4db47a6cdf481c0465412e0106c9a86e5a86a96
parent9dc7cb59363231bcbfb41bbc174676f03edd4cbe (diff)
segag80r: Don't forget this important guard (nw)
-rw-r--r--src/mame/drivers/segag80r.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/segag80r.cpp b/src/mame/drivers/segag80r.cpp
index d3d84f45df0..5622b9e2bcd 100644
--- a/src/mame/drivers/segag80r.cpp
+++ b/src/mame/drivers/segag80r.cpp
@@ -177,7 +177,8 @@ READ8_MEMBER(segag80r_state::g80r_opcode_r)
uint8_t op = m_maincpu->space(AS_PROGRAM).read_byte(offset);
// writes via opcode $32 (LD $(XXYY),A) get scrambled
- m_scrambled_write_pc = (op == 0x32) ? offset : 0xffff;
+ if (!machine().side_effect_disabled())
+ m_scrambled_write_pc = (op == 0x32) ? offset : 0xffff;
return op;
}