summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarigt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atarigt.cpp')
-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;