summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pp01.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pp01.cpp')
-rw-r--r--src/mame/drivers/pp01.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/pp01.cpp b/src/mame/drivers/pp01.cpp
index e1fa74061ff..22386146fac 100644
--- a/src/mame/drivers/pp01.cpp
+++ b/src/mame/drivers/pp01.cpp
@@ -214,8 +214,7 @@ MACHINE_CONFIG_START(pp01_state::pp01)
MCFG_SCREEN_UPDATE_DRIVER(pp01_state, screen_update_pp01)
MCFG_SCREEN_PALETTE("palette")
- MCFG_PALETTE_ADD("palette", 8)
- MCFG_PALETTE_INIT_OWNER(pp01_state, pp01)
+ PALETTE(config, "palette", FUNC(pp01_state::pp01_palette), 8);
/* sound hardware */
SPEAKER(config, "mono").front_center();