summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-04-22 07:21:52 +0100
committer smf- <smf-@users.noreply.github.com>2018-04-22 08:15:40 +0100
commitaed6916c0279404bfed6ffa33a1e6fc06e932708 (patch)
tree94ff73479734946dbb6d99b969261a849a3ad343
parent51e35be244f22f1114589b78205ea6d15659b4f9 (diff)
remove some calls to state() (nw)
-rw-r--r--src/mame/drivers/atarigt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/atarigt.cpp b/src/mame/drivers/atarigt.cpp
index 8d11d511afc..61aa7913af2 100644
--- a/src/mame/drivers/atarigt.cpp
+++ b/src/mame/drivers/atarigt.cpp
@@ -461,7 +461,7 @@ if (LOG_PROTECTION)
case 0x275bc:
break;
case 0x275cc:
- a6 = space.device().state().state_int(M68K_A6);
+ a6 = m_maincpu->state_int(M68K_A6);
p1 = (space.read_word(a6+8) << 16) | space.read_word(a6+10);
p2 = (space.read_word(a6+12) << 16) | space.read_word(a6+14);
logerror("Known Protection @ 275BC(%08X, %08X): R@%06X ", p1, p2, offset);
@@ -479,7 +479,7 @@ if (LOG_PROTECTION)
/* protection code from 3d8dc - 3d95a */
case 0x3d8f4:
- a6 = space.device().state().state_int(M68K_A6);
+ a6 = m_maincpu->state_int(M68K_A6);
p1 = (space.read_word(a6+12) << 16) | space.read_word(a6+14);
logerror("Known Protection @ 3D8F4(%08X): R@%06X ", p1, offset);
break;
@@ -490,7 +490,7 @@ if (LOG_PROTECTION)
/* protection code from 437fa - 43860 */
case 0x43814:
- a6 = space.device().state().state_int(M68K_A6);
+ a6 = m_maincpu->state_int(M68K_A6);
p1 = space.read_dword(a6+14) & 0xffffff;
logerror("Known Protection @ 43814(%08X): R@%06X ", p1, offset);
break;