segag80r: Don't forget this important guard (nw)

This commit is contained in:
AJR 2017-09-30 00:49:17 -04:00
parent 9dc7cb5936
commit db9a9c2dc7

View File

@ -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;
}