summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/segas32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/segas32.cpp')
-rw-r--r--src/mame/machine/segas32.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/segas32.cpp b/src/mame/machine/segas32.cpp
index 2424a498d00..abb0cabd6c7 100644
--- a/src/mame/machine/segas32.cpp
+++ b/src/mame/machine/segas32.cpp
@@ -213,15 +213,15 @@ void segas32_state::darkedge_fd1149_vblank()
WRITE16_MEMBER(segas32_state::darkedge_protection_w)
{
- logerror("%06x:darkedge_prot_w(%06X) = %04X & %04X\n",
- space.device().safe_pc(), 0xa00000 + 2*offset, data, mem_mask);
+ logerror("%s:darkedge_prot_w(%06X) = %04X & %04X\n",
+ machine().describe_context(), 0xa00000 + 2*offset, data, mem_mask);
}
READ16_MEMBER(segas32_state::darkedge_protection_r)
{
- logerror("%06x:darkedge_prot_r(%06X) & %04X\n",
- space.device().safe_pc(), 0xa00000 + 2*offset, mem_mask);
+ logerror("%s:darkedge_prot_r(%06X) & %04X\n",
+ machine().describe_context(), 0xa00000 + 2*offset, mem_mask);
return 0xffff;
}
@@ -296,12 +296,12 @@ const uint8_t segas32_v25_state::arf_opcode_table[256] = {
#if 0 // old simulation
READ16_MEMBER(segas32_state::arabfgt_protection_r)
{
- int PC = space.device().safe_pc();
+ int PC = m_maincpu->pc();
int cmpVal;
if (PC == 0xfe0325 || PC == 0xfe01e5 || PC == 0xfe035e || PC == 0xfe03cc)
{
- cmpVal = space.device().state().state_int(1);
+ cmpVal = m_maincpu->state_int(V60_R0);
// R0 always contains the value the protection is supposed to return (!)
return cmpVal;