summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gameplan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gameplan.c')
-rw-r--r--src/mame/video/gameplan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/gameplan.c b/src/mame/video/gameplan.c
index 7d78a5b65b2..af2ab8fac1f 100644
--- a/src/mame/video/gameplan.c
+++ b/src/mame/video/gameplan.c
@@ -116,7 +116,7 @@ UINT32 gameplan_state::screen_update_leprechn(screen_device &screen, bitmap_rgb3
static WRITE8_DEVICE_HANDLER( video_data_w )
{
- gameplan_state *state = device->machine().driver_data<gameplan_state>();
+ gameplan_state *state = space.machine().driver_data<gameplan_state>();
state->m_video_data = data;
}
@@ -124,7 +124,7 @@ static WRITE8_DEVICE_HANDLER( video_data_w )
static WRITE8_DEVICE_HANDLER( gameplan_video_command_w )
{
- gameplan_state *state = device->machine().driver_data<gameplan_state>();
+ gameplan_state *state = space.machine().driver_data<gameplan_state>();
state->m_video_command = data & 0x07;
}
@@ -132,7 +132,7 @@ static WRITE8_DEVICE_HANDLER( gameplan_video_command_w )
static WRITE8_DEVICE_HANDLER( leprechn_video_command_w )
{
- gameplan_state *state = device->machine().driver_data<gameplan_state>();
+ gameplan_state *state = space.machine().driver_data<gameplan_state>();
state->m_video_command = (data >> 3) & 0x07;
}