summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/snowbros.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/snowbros.cpp')
-rw-r--r--src/mame/drivers/snowbros.cpp27
1 files changed, 8 insertions, 19 deletions
diff --git a/src/mame/drivers/snowbros.cpp b/src/mame/drivers/snowbros.cpp
index 3e39a07bbdb..107e1ad767d 100644
--- a/src/mame/drivers/snowbros.cpp
+++ b/src/mame/drivers/snowbros.cpp
@@ -1635,19 +1635,8 @@ INPUT_PORTS_END
/* SnowBros */
-static const gfx_layout tilelayout =
-{
- 16,16,
- RGN_FRAC(1,1),
- 4,
- { 0, 1, 2, 3 },
- { STEP8(0,4), STEP8(8*32,4) },
- { STEP8(0,32), STEP8(16*32,32) },
- 32*32
-};
-
static GFXDECODE_START( gfx_snowbros )
- GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 16 )
+ GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0, 16 )
GFXDECODE_END
/* Honey Doll */
@@ -1664,13 +1653,13 @@ static const gfx_layout honeydol_tilelayout8bpp =
};
static GFXDECODE_START( gfx_honeydol )
- GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 64 ) // how does it use 0-15
- GFXDECODE_ENTRY( "gfx2", 0, honeydol_tilelayout8bpp, 0, 4 )
+ GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0, 64 ) // how does it use 0-15
+ GFXDECODE_ENTRY( "gfx2", 0, honeydol_tilelayout8bpp, 0, 4 )
GFXDECODE_END
static GFXDECODE_START( gfx_twinadv )
- GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 64 )
+ GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0, 64 )
GFXDECODE_END
/* Winter Bobble */
@@ -1687,7 +1676,7 @@ static const gfx_layout tilelayout_wb =
};
static GFXDECODE_START( gfx_wb )
- GFXDECODE_ENTRY( "gfx1", 0, tilelayout_wb, 0, 16 )
+ GFXDECODE_ENTRY( "gfx1", 0, tilelayout_wb, 0, 16 )
GFXDECODE_END
/* SemiCom */
@@ -1721,12 +1710,12 @@ static const gfx_layout sb3_tilebglayout =
static GFXDECODE_START( gfx_sb3 )
- GFXDECODE_ENTRY( "gfx1", 0, tilelayout, 0, 16 )
- GFXDECODE_ENTRY( "gfx2", 0, sb3_tilebglayout, 0, 2 )
+ GFXDECODE_ENTRY( "gfx1", 0, gfx_8x8x4_row_2x2_group_packed_msb, 0, 16 )
+ GFXDECODE_ENTRY( "gfx2", 0, sb3_tilebglayout, 0, 2 )
GFXDECODE_END
static GFXDECODE_START( gfx_hyperpac )
- GFXDECODE_ENTRY( "gfx1", 0, hyperpac_tilelayout, 0, 16 )
+ GFXDECODE_ENTRY( "gfx1", 0, hyperpac_tilelayout, 0, 16 )
GFXDECODE_END
MACHINE_RESET_MEMBER(snowbros_state,semiprot)