diff options
Diffstat (limited to 'src/mame/video/skyfox.c')
-rw-r--r-- | src/mame/video/skyfox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/skyfox.c b/src/mame/video/skyfox.c index 418914b30ec..01e05192846 100644 --- a/src/mame/video/skyfox.c +++ b/src/mame/video/skyfox.c @@ -164,8 +164,8 @@ static void draw_sprites( running_machine *machine, bitmap_t *bitmap, const rect skyfox_state *state = (skyfox_state *)machine->driver_data; int offs; - int width = video_screen_get_width(machine->primary_screen); - int height = video_screen_get_height(machine->primary_screen); + int width = machine->primary_screen->width(); + int height = machine->primary_screen->height(); /* The 32x32 tiles in the 80-ff range are bankswitched */ int shift =(state->bg_ctrl & 0x80) ? (4 - 1) : 4; |