mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
a2600: new 6502 PC=cur inst, old 6502 PC=prev inst (MT 5345) [Mike Saarna, Trebor, R. Belmont]
This commit is contained in:
parent
634147b1b3
commit
80b274e7ed
@ -171,7 +171,7 @@ READ8_MEMBER(a2600_state::a2600_get_databus_contents)
|
|||||||
UINT8 last_byte, prev_byte;
|
UINT8 last_byte, prev_byte;
|
||||||
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
|
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
|
||||||
|
|
||||||
last_address = m_maincpu->pc() - 1;
|
last_address = m_maincpu->pc() + 1;
|
||||||
if ( ! ( last_address & 0x1080 ) )
|
if ( ! ( last_address & 0x1080 ) )
|
||||||
{
|
{
|
||||||
return offset;
|
return offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user