summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/backfire.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-04-09 17:30:29 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-04-09 17:30:29 +0000
commit7f5529c2cd1ac819851ea3cc76f2a87ec759ba1b (patch)
treedab7eb8d238b272f30d15eaca54c58980f1b3cdd /src/mame/drivers/backfire.c
parent94d0358dd317fc94dc12aa09a72ef001215ec5af (diff)
Templatized the palette generators and made naming consistent.
Moved video/generic flip screen management into the base driver_device class and updated all callers.
Diffstat (limited to 'src/mame/drivers/backfire.c')
-rw-r--r--src/mame/drivers/backfire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c
index 48c65b23d51..f6e5dfe8579 100644
--- a/src/mame/drivers/backfire.c
+++ b/src/mame/drivers/backfire.c
@@ -106,7 +106,7 @@ static SCREEN_UPDATE_IND16( backfire_left )
backfire_state *state = screen.machine().driver_data<backfire_state>();
//FIXME: flip_screen_x should not be written!
- flip_screen_set_no_update(screen.machine(), 1);
+ state->flip_screen_set_no_update(1);
/* screen 1 uses pf1 as the forground and pf3 as the background */
/* screen 2 uses pf2 as the foreground and pf4 as the background */
@@ -139,7 +139,7 @@ static SCREEN_UPDATE_IND16( backfire_right )
backfire_state *state = screen.machine().driver_data<backfire_state>();
//FIXME: flip_screen_x should not be written!
- flip_screen_set_no_update(screen.machine(), 1);
+ state->flip_screen_set_no_update(1);
/* screen 1 uses pf1 as the forground and pf3 as the background */
/* screen 2 uses pf2 as the foreground and pf4 as the background */