summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cswat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cswat.cpp')
-rw-r--r--src/mame/drivers/cswat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cswat.cpp b/src/mame/drivers/cswat.cpp
index 2c281e6a6e7..2a9918b6ada 100644
--- a/src/mame/drivers/cswat.cpp
+++ b/src/mame/drivers/cswat.cpp
@@ -275,7 +275,7 @@ MACHINE_CONFIG_START(cswat_state::cswat)
MCFG_SCREEN_UPDATE_DRIVER(cswat_state, screen_update_cswat)
- MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cswat)
+ GFXDECODE(config, "gfxdecode", "palette", gfx_cswat);
MCFG_PALETTE_ADD("palette", 4*256)
/* sound hardware */