summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gaiden.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gaiden.c')
-rw-r--r--src/mame/video/gaiden.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/gaiden.c b/src/mame/video/gaiden.c
index 03465c3278a..d749794c3e2 100644
--- a/src/mame/video/gaiden.c
+++ b/src/mame/video/gaiden.c
@@ -75,8 +75,8 @@ static TILE_GET_INFO( get_tx_tile_info )
VIDEO_START( gaiden )
{
gaiden_state *state = (gaiden_state *)machine->driver_data;
- 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 */
state->tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);
@@ -98,8 +98,8 @@ VIDEO_START( mastninj )
{
gaiden_state *state = (gaiden_state *)machine->driver_data;
- 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 */
state->tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);
@@ -123,8 +123,8 @@ VIDEO_START( mastninj )
VIDEO_START( raiga )
{
gaiden_state *state = (gaiden_state *)machine->driver_data;
- 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 */
state->tile_bitmap_bg = auto_bitmap_alloc(machine, width, height, BITMAP_FORMAT_INDEXED16);