mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
segag80r: Don't forget this important guard (nw)
This commit is contained in:
parent
9dc7cb5936
commit
db9a9c2dc7
@ -177,7 +177,8 @@ READ8_MEMBER(segag80r_state::g80r_opcode_r)
|
|||||||
uint8_t op = m_maincpu->space(AS_PROGRAM).read_byte(offset);
|
uint8_t op = m_maincpu->space(AS_PROGRAM).read_byte(offset);
|
||||||
|
|
||||||
// writes via opcode $32 (LD $(XXYY),A) get scrambled
|
// 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;
|
return op;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user