summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/stvvdp2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/stvvdp2.cpp')
-rw-r--r--src/devices/video/stvvdp2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/stvvdp2.cpp b/src/devices/video/stvvdp2.cpp
index 0f6e36ec07c..856c977eb5d 100644
--- a/src/devices/video/stvvdp2.cpp
+++ b/src/devices/video/stvvdp2.cpp
@@ -5721,7 +5721,7 @@ READ16_MEMBER ( saturn_state::saturn_vdp2_regs_r )
/* latch h/v signals through HV latch*/
if(!STV_VDP2_EXLTEN)
{
- if(!space.debugger_access())
+ if(!machine().side_effect_disabled())
{
m_vdp2.h_count = get_hcounter();
m_vdp2.v_count = get_vcounter();
@@ -5748,7 +5748,7 @@ READ16_MEMBER ( saturn_state::saturn_vdp2_regs_r )
m_vdp2_regs[offset] |= 1 << 3;
/* HV latches clears if this register is read */
- if(!space.debugger_access())
+ if(!machine().side_effect_disabled())
{
m_vdp2.exltfg &= ~1;
m_vdp2.exsyfg &= ~1;
@@ -5762,7 +5762,7 @@ READ16_MEMBER ( saturn_state::saturn_vdp2_regs_r )
/* Games basically r/w the entire VDP2 register area when this is tripped. (example: Silhouette Mirage)
Disable log for the time being. */
- //if(!space.debugger_access())
+ //if(!machine().side_effect_disabled())
// printf("Warning: VDP2 version read\n");
break;
}
@@ -5782,7 +5782,7 @@ READ16_MEMBER ( saturn_state::saturn_vdp2_regs_r )
}
default:
- //if(!space.debugger_access())
+ //if(!machine().side_effect_disabled())
// printf("VDP2: read from register %08x %08x\n",offset*4,mem_mask);
break;
}