From 1a27a251f819ecd7990a21d1b1c5ef82355b63c2 Mon Sep 17 00:00:00 2001 From: smf- Date: Fri, 13 Apr 2018 16:32:23 +0100 Subject: remove safe_pc() and safe_pcbase() (nw) --- src/mame/machine/tigeroad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mame/machine/tigeroad.cpp') diff --git a/src/mame/machine/tigeroad.cpp b/src/mame/machine/tigeroad.cpp index baa91d83646..b6da75c6005 100644 --- a/src/mame/machine/tigeroad.cpp +++ b/src/mame/machine/tigeroad.cpp @@ -58,7 +58,7 @@ void tigeroad_state::f1dream_protection_w(address_space &space) { int indx; int value = 255; - int prevpc = space.device().safe_pcbase(); + int prevpc = m_maincpu->pcbase(); if (prevpc == 0x244c) { @@ -119,7 +119,7 @@ void tigeroad_state::f1dream_protection_w(address_space &space) WRITE16_MEMBER(tigeroad_state::f1dream_control_w) { - logerror("protection write, PC: %04x FFE1 Value:%01x\n",space.device().safe_pc(), m_ram16[0x3fe0/2]); + logerror("%s protection write, FFE1 Value:%01x\n",machine().describe_context(), m_ram16[0x3fe0/2]); f1dream_protection_w(space); } -- cgit v1.2.3-70-g09d2