summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gcpinbal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gcpinbal.cpp')
-rw-r--r--src/mame/drivers/gcpinbal.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/gcpinbal.cpp b/src/mame/drivers/gcpinbal.cpp
index e69c4e532a5..9b02f4a3d76 100644
--- a/src/mame/drivers/gcpinbal.cpp
+++ b/src/mame/drivers/gcpinbal.cpp
@@ -371,13 +371,12 @@ MACHINE_CONFIG_START(gcpinbal_state::gcpinbal)
MCFG_SCREEN_SIZE(40*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(gcpinbal_state, screen_update_gcpinbal)
- MCFG_SCREEN_PALETTE("palette")
+ MCFG_SCREEN_PALETTE(m_palette)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_gcpinbal)
- MCFG_PALETTE_ADD("palette", 4096)
- MCFG_PALETTE_FORMAT(RRRRGGGGBBBBRGBx)
+ GFXDECODE(config, m_gfxdecode, m_palette, gfx_gcpinbal);
+ PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 4096);
- MCFG_DEVICE_ADD("spritegen", EXCELLENT_SPRITE, 0)
+ EXCELLENT_SPRITE(config, m_sprgen, 0);
/* sound hardware */
SPEAKER(config, "mono").front_center();