summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/playch10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/playch10.cpp')
-rw-r--r--src/mame/drivers/playch10.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/playch10.cpp b/src/mame/drivers/playch10.cpp
index d6f1c6b2b65..59031322ef4 100644
--- a/src/mame/drivers/playch10.cpp
+++ b/src/mame/drivers/playch10.cpp
@@ -698,10 +698,11 @@ MACHINE_CONFIG_START(playch10_state::playch10)
MCFG_RP5H01_ADD("rp5h01")
MACHINE_CONFIG_END
-MACHINE_CONFIG_START(playch10_state::playchnv)
+void playch10_state::playchnv(machine_config &config)
+{
playch10(config);
- MCFG_NVRAM_ADD_0FILL("nvram")
-MACHINE_CONFIG_END
+ NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
+}
MACHINE_CONFIG_START(playch10_state::playch10_hboard)
playch10(config);