remove some calls to state() (nw)

This commit is contained in:
smf- 2018-04-22 07:21:52 +01:00
parent 51e35be244
commit aed6916c02

View File

@ -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;