summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/gb_lcd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/gb_lcd.cpp')
-rw-r--r--src/devices/video/gb_lcd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/gb_lcd.cpp b/src/devices/video/gb_lcd.cpp
index 3a8145d24f0..6be32fc7588 100644
--- a/src/devices/video/gb_lcd.cpp
+++ b/src/devices/video/gb_lcd.cpp
@@ -2883,7 +2883,7 @@ void dmg_ppu_device::lcd_switch_on(uint8_t new_data)
READ8_MEMBER(dmg_ppu_device::vram_r)
{
- if (!machine().debugger_access())
+ if (!space.debugger_access())
{
update_state();
LOG(("vram_r: offset=0x%04x\n", offset));
@@ -2905,7 +2905,7 @@ WRITE8_MEMBER(dmg_ppu_device::vram_w)
READ8_MEMBER(dmg_ppu_device::oam_r)
{
- if (!machine().debugger_access())
+ if (!space.debugger_access())
{
update_state();
LOG(("oam_r: offset=0x%02x\n", offset));
@@ -2928,7 +2928,7 @@ WRITE8_MEMBER(dmg_ppu_device::oam_w)
READ8_MEMBER(dmg_ppu_device::video_r)
{
- if (!machine().debugger_access())
+ if (!space.debugger_access())
{
update_state();
if (offset == 1) LOG(("STAT read\n"));
@@ -3200,7 +3200,7 @@ WRITE8_MEMBER(dmg_ppu_device::video_w)
READ8_MEMBER(cgb_ppu_device::video_r)
{
- if (!machine().debugger_access())
+ if (!space.debugger_access())
{
update_state();
if (offset == 1) LOG(("STAT read\n"));