summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/tigeroad.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-04-13 16:32:23 +0100
committer smf- <smf-@users.noreply.github.com>2018-04-13 16:41:37 +0100
commit1a27a251f819ecd7990a21d1b1c5ef82355b63c2 (patch)
treee64a720ca63495737ea5536cc90408343a4feff1 /src/mame/machine/tigeroad.cpp
parent603b5bfd61ed3b9968c268aaa9cb13ebb6801ec6 (diff)
remove safe_pc() and safe_pcbase() (nw)
Diffstat (limited to 'src/mame/machine/tigeroad.cpp')
-rw-r--r--src/mame/machine/tigeroad.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}