summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/ironhors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/ironhors.c')
-rw-r--r--src/mame/video/ironhors.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/video/ironhors.c b/src/mame/video/ironhors.c
index 9ce37f137a8..7c9f56eb475 100644
--- a/src/mame/video/ironhors.c
+++ b/src/mame/video/ironhors.c
@@ -124,9 +124,9 @@ WRITE8_HANDLER( ironhors_palettebank_w )
WRITE8_HANDLER( ironhors_flipscreen_w )
{
- if (flip_screen_get() != (~data & 0x08))
+ if (flip_screen_get(space->machine) != (~data & 0x08))
{
- flip_screen_set(~data & 0x08);
+ flip_screen_set(space->machine, ~data & 0x08);
tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
}
@@ -170,9 +170,9 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
int flipy = sr[offs+4] & 0x40;
int code = (sr[offs] << 2) + ((sr[offs+1] & 0x03) << 10) + ((sr[offs+1] & 0x0c) >> 2);
int color = ((sr[offs+1] & 0xf0)>>4) + 16 * palettebank;
- // int mod = flip_screen_get() ? -8 : 8;
+ // int mod = flip_screen_get(machine) ? -8 : 8;
- if (flip_screen_get())
+ if (flip_screen_get(machine))
{
sx = 240 - sx;
sy = 240 - sy;
@@ -193,7 +193,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
case 0x04: /* 16x8 */
{
- if (flip_screen_get()) sy += 8; // this fixes the train wheels' position
+ if (flip_screen_get(machine)) sy += 8; // this fixes the train wheels' position
drawgfx(bitmap,machine->gfx[2],
code & ~1,