summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/coco.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-11 15:16:43 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-11 15:16:43 +0000
commit6d8c3c9f2d5d30848751a12c2925fbe53ac8bfec (patch)
tree5be66bb26a139af5ab375ac1fc48a3dd5c1f6c58 /src/mess/machine/coco.c
parent1df58104fedb600014fa1c1908bf8ee7972b48d4 (diff)
Don't use safe_pc[base] when you already have a
resolved device_state_interface. Added redundant methods to device_state_interface to generate errors when this is done.
Diffstat (limited to 'src/mess/machine/coco.c')
-rw-r--r--src/mess/machine/coco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/coco.c b/src/mess/machine/coco.c
index accabcc79aa..db34c10a889 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 = m_maincpu->safe_pcbase();
- UINT16 pc = m_maincpu->safe_pc();
+ UINT16 prev_pc = m_maincpu->pcbase();
+ UINT16 pc = m_maincpu->pc();
// get the byte; and skip over header bytes
byte = program->read_byte(prev_pc);