diff options
Diffstat (limited to 'src/mame/drivers/powerins.cpp')
-rw-r--r-- | src/mame/drivers/powerins.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/powerins.cpp b/src/mame/drivers/powerins.cpp index 4a9f19b6d3d..fadeef8e1d3 100644 --- a/src/mame/drivers/powerins.cpp +++ b/src/mame/drivers/powerins.cpp @@ -305,11 +305,10 @@ MACHINE_CONFIG_START(powerins_state::powerins) MCFG_SCREEN_VISIBLE_AREA(0, 320-1, 0+16, 256-16-1) MCFG_SCREEN_UPDATE_DRIVER(powerins_state, screen_update) MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, powerins_state, screen_vblank)) - MCFG_SCREEN_PALETTE("palette") + MCFG_SCREEN_PALETTE(m_palette) - MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_powerins) - MCFG_PALETTE_ADD("palette", 2048) - MCFG_PALETTE_FORMAT(RRRRGGGGBBBBRGBx) + GFXDECODE(config, m_gfxdecode, m_palette, gfx_powerins); + PALETTE(config, m_palette).set_format(palette_device::RRRRGGGGBBBBRGBx, 2048); /* sound hardware */ SPEAKER(config, "mono").front_center(); |