summaryrefslogtreecommitdiffstats
path: root/src/devices/video/snes_ppu.h
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2018-01-05 10:47:21 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2018-01-05 10:47:28 -0500
commitaa45e908bbf1c6ac8141b1990500817699888b59 (patch)
tree9fc8ca6cd091b585343f89a816f2a73460ae79fb /src/devices/video/snes_ppu.h
parentc25b98226d633149162fbf99ea06919646acb9b6 (diff)
Privatize m_screen and other variables of device_video_interface (nw)
Diffstat (limited to 'src/devices/video/snes_ppu.h')
-rw-r--r--src/devices/video/snes_ppu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h
index 2a3ac575edf..a3be6fed5da 100644
--- a/src/devices/video/snes_ppu.h
+++ b/src/devices/video/snes_ppu.h
@@ -48,8 +48,8 @@ public:
void refresh_scanline(bitmap_rgb32 &bitmap, uint16_t curline);
- int16_t current_x() const { return m_screen->hpos() / m_htmult; }
- int16_t current_y() const { return m_screen->vpos(); }
+ int16_t current_x() const { return screen().hpos() / m_htmult; }
+ int16_t current_y() const { return screen().vpos(); }
void set_latch_hv(int16_t x, int16_t y);
uint8_t read(address_space &space, uint32_t offset, uint8_t wrio_bit7);