diff options
Diffstat (limited to 'src/mame/video/suna16.c')
-rw-r--r-- | src/mame/video/suna16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/suna16.c b/src/mame/video/suna16.c index b49e59a3ffa..71cba2dac09 100644 --- a/src/mame/video/suna16.c +++ b/src/mame/video/suna16.c @@ -120,8 +120,8 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta { int offs; - int max_x = video_screen_get_width(machine->primary_screen) - 8; - int max_y = video_screen_get_height(machine->primary_screen) - 8; + int max_x = machine->primary_screen->width() - 8; + int max_y = machine->primary_screen->height() - 8; for ( offs = 0xfc00/2; offs < 0x10000/2 ; offs += 4/2 ) { |