summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/mface2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/mface2.cpp')
-rw-r--r--src/devices/bus/cpc/mface2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/cpc/mface2.cpp b/src/devices/bus/cpc/mface2.cpp
index 7991a901f18..49cb59f54cc 100644
--- a/src/devices/bus/cpc/mface2.cpp
+++ b/src/devices/bus/cpc/mface2.cpp
@@ -29,7 +29,7 @@ DIRECT_UPDATE_MEMBER( cpc_multiface2_device::amstrad_multiface_directoverride )
{
int pc;
- pc = machine().device("maincpu")->safe_pc();
+ pc = machine().device<cpu_device>("maincpu")->pc();
/* there are two places where CALL &0065 can be found
in the multiface rom. At this address there is a RET.