summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rx78.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rx78.cpp')
-rw-r--r--src/mame/drivers/rx78.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/rx78.cpp b/src/mame/drivers/rx78.cpp
index 7b2bc35d161..40b4c53314b 100644
--- a/src/mame/drivers/rx78.cpp
+++ b/src/mame/drivers/rx78.cpp
@@ -490,7 +490,7 @@ MACHINE_CONFIG_START(rx78_state::rx78)
MCFG_SCREEN_PALETTE("palette")
MCFG_PALETTE_ADD("palette", 16+1) //+1 for the background color
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_rx78)
+ GFXDECODE(config, "gfxdecode", m_palette, gfx_rx78);
MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "rx78_cart")
MCFG_GENERIC_EXTENSIONS("bin,rom")