diff options
Diffstat (limited to 'src/mess/machine/coco.c')
-rw-r--r-- | src/mess/machine/coco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/coco.c b/src/mess/machine/coco.c index 49482134e14..accabcc79aa 100644 --- a/src/mess/machine/coco.c +++ b/src/mess/machine/coco.c @@ -261,8 +261,8 @@ UINT8 coco_state::floating_bus_read(void) address_space *program = m_maincpu->space(AS_PROGRAM); // get the previous and current PC - UINT16 prev_pc = cpu_get_previouspc(m_maincpu); - UINT16 pc = cpu_get_pc(m_maincpu); + UINT16 prev_pc = m_maincpu->safe_pcbase(); + UINT16 pc = m_maincpu->safe_pc(); // get the byte; and skip over header bytes byte = program->read_byte(prev_pc); |