summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hitme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hitme.c')
-rw-r--r--src/mame/drivers/hitme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/hitme.c b/src/mame/drivers/hitme.c
index df3c9707969..d0189968b92 100644
--- a/src/mame/drivers/hitme.c
+++ b/src/mame/drivers/hitme.c
@@ -147,7 +147,7 @@ static UINT8 read_port_and_t0( running_machine *machine, int port )
static UINT8 read_port_and_t0_and_hblank( running_machine *machine, int port )
{
UINT8 val = read_port_and_t0(machine, port);
- if (video_screen_get_hpos(machine->primary_screen) < (video_screen_get_width(machine->primary_screen) * 9 / 10))
+ if (machine->primary_screen->hpos() < (machine->primary_screen->width() * 9 / 10))
val ^= 0x04;
return val;
}