diff options
Diffstat (limited to 'src/mame/drivers/fromanc2.cpp')
-rw-r--r-- | src/mame/drivers/fromanc2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/fromanc2.cpp b/src/mame/drivers/fromanc2.cpp index 1f38fe98695..dbc11f96a48 100644 --- a/src/mame/drivers/fromanc2.cpp +++ b/src/mame/drivers/fromanc2.cpp @@ -436,7 +436,7 @@ static const gfx_layout fromanc2_tilelayout = 32*8 }; -static GFXDECODE_START( fromanc2 ) +static GFXDECODE_START( gfx_fromanc2 ) GFXDECODE_ENTRY( "gfx1", 0, fromanc2_tilelayout, 0, 4 ) GFXDECODE_ENTRY( "gfx2", 0, fromanc2_tilelayout, 256, 4 ) GFXDECODE_ENTRY( "gfx3", 0, fromanc2_tilelayout, 512, 4 ) @@ -454,7 +454,7 @@ static const gfx_layout fromancr_tilelayout = 64*8 }; -static GFXDECODE_START( fromancr ) +static GFXDECODE_START( gfx_fromancr ) GFXDECODE_ENTRY( "gfx1", 0, fromancr_tilelayout, 512, 1 ) GFXDECODE_ENTRY( "gfx2", 0, fromancr_tilelayout, 256, 1 ) GFXDECODE_ENTRY( "gfx3", 0, fromancr_tilelayout, 0, 1 ) @@ -521,7 +521,7 @@ MACHINE_CONFIG_START(fromanc2_state::fromanc2) MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") /* video hardware */ - MCFG_GFXDECODE_ADD("gfxdecode", "lpalette", fromanc2) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "lpalette", gfx_fromanc2) MCFG_PALETTE_ADD("lpalette", 2048) MCFG_PALETTE_FORMAT(GGGGGRRRRRBBBBBx) @@ -581,7 +581,7 @@ MACHINE_CONFIG_START(fromanc2_state::fromancr) MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") /* video hardware */ - MCFG_GFXDECODE_ADD("gfxdecode", "lpalette", fromancr) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "lpalette", gfx_fromancr) MCFG_PALETTE_ADD("lpalette", 2048) MCFG_PALETTE_FORMAT(xGGGGGRRRRRBBBBB) @@ -642,7 +642,7 @@ MACHINE_CONFIG_START(fromanc2_state::fromanc4) //MCFG_INS8250_OUT_RTS_CB(WRITELINE("link", rs232_port_device, write_rts)) /* video hardware */ - MCFG_GFXDECODE_ADD("gfxdecode", "lpalette", fromancr) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "lpalette", gfx_fromancr) MCFG_PALETTE_ADD("lpalette", 2048) MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB) |