diff options
Diffstat (limited to 'src/mame/machine/saturn.cpp')
-rw-r--r-- | src/mame/machine/saturn.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/machine/saturn.cpp b/src/mame/machine/saturn.cpp index 37b7a92ac84..08a41b862af 100644 --- a/src/mame/machine/saturn.cpp +++ b/src/mame/machine/saturn.cpp @@ -232,26 +232,26 @@ READ32_MEMBER(saturn_state::saturn_scu_r) { case 0x5c/4: // Super Major League and Shin Megami Tensei - Akuma Zensho reads from there (undocumented), DMA status mirror? - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) DMA status reg read\n",space.device().safe_pc()); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) DMA status reg read\n",space.device().safe_pc()); res = m_scu.status; break; case 0x7c/4: - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) DMA status reg read\n",space.device().safe_pc()); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) DMA status reg read\n",space.device().safe_pc()); res = m_scu.status; break; case 0x80/4: res = m_scudsp->program_control_r(space, 0, mem_mask); break; case 0x8c/4: - if(LOG_SCU && !space.debugger_access()) logerror( "DSP mem read at %08X\n", m_scu_regs[34]); + if(LOG_SCU && !machine().side_effect_disabled()) logerror( "DSP mem read at %08X\n", m_scu_regs[34]); res = m_scudsp->ram_address_r(space, 0, mem_mask); break; case 0xa0/4: - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) IRQ mask reg read %08x MASK=%08x\n",space.device().safe_pc(),mem_mask,m_scu_regs[0xa0/4]); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) IRQ mask reg read %08x MASK=%08x\n",space.device().safe_pc(),mem_mask,m_scu_regs[0xa0/4]); res = m_scu.ism; break; case 0xa4/4: - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) IRQ status reg read MASK=%08x IST=%08x | ISM=%08x\n",space.device().safe_pc(),mem_mask,m_scu.ist,m_scu.ism); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) IRQ status reg read MASK=%08x IST=%08x | ISM=%08x\n",space.device().safe_pc(),mem_mask,m_scu.ist,m_scu.ism); /* TODO: Bug! trips an HW fault. Basically, it tries to read the IST bit 1 with that irq enabled. Densetsu no Ogre Battle doesn't like this, so it needs investigation ... */ @@ -259,11 +259,11 @@ READ32_MEMBER(saturn_state::saturn_scu_r) res = m_scu.ist; break; case 0xc8/4: - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) SCU version reg read\n",space.device().safe_pc()); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) SCU version reg read\n",space.device().safe_pc()); res = 0x00000004;/*SCU Version 4, OK? */ break; default: - if(LOG_SCU && !space.debugger_access()) logerror("(PC=%08x) SCU reg read at %d = %08x\n",space.device().safe_pc(),offset,m_scu_regs[offset]); + if(LOG_SCU && !machine().side_effect_disabled()) logerror("(PC=%08x) SCU reg read at %d = %08x\n",space.device().safe_pc(),offset,m_scu_regs[offset]); res = m_scu_regs[offset]; break; } |