diff options
Diffstat (limited to 'src/mame/drivers/elwro800.cpp')
-rw-r--r-- | src/mame/drivers/elwro800.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/elwro800.cpp b/src/mame/drivers/elwro800.cpp index 33af3e7f4e9..30a59a8db30 100644 --- a/src/mame/drivers/elwro800.cpp +++ b/src/mame/drivers/elwro800.cpp @@ -573,9 +573,8 @@ MACHINE_CONFIG_START(elwro800_state::elwro800) MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, elwro800_state, screen_vblank_spectrum)) MCFG_SCREEN_PALETTE("palette") - MCFG_PALETTE_ADD("palette", 16) - MCFG_PALETTE_INIT_OWNER(elwro800_state, spectrum ) - MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_elwro800) + PALETTE(config, "palette", FUNC(elwro800_state::spectrum_palette), 16); + GFXDECODE(config, "gfxdecode", "palette", gfx_elwro800); MCFG_VIDEO_START_OVERRIDE(elwro800_state, spectrum) |