summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tecmo16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tecmo16.c')
-rw-r--r--src/mame/video/tecmo16.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/tecmo16.c b/src/mame/video/tecmo16.c
index be6a2d55e22..bffdc64cc45 100644
--- a/src/mame/video/tecmo16.c
+++ b/src/mame/video/tecmo16.c
@@ -64,8 +64,8 @@ static TILE_GET_INFO( tx_get_tile_info )
VIDEO_START( fstarfrc )
{
- 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();
/* set up tile layers */
tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);
@@ -89,8 +89,8 @@ VIDEO_START( fstarfrc )
VIDEO_START( ginkun )
{
- 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();
/* set up tile layers */
tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);
@@ -112,8 +112,8 @@ VIDEO_START( ginkun )
VIDEO_START( riot )
{
- 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();
/* set up tile layers */
tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);