summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/pgm2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pgm2.cpp')
-rw-r--r--src/mame/drivers/pgm2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pgm2.cpp b/src/mame/drivers/pgm2.cpp
index b368cf2c839..f41a2839172 100644
--- a/src/mame/drivers/pgm2.cpp
+++ b/src/mame/drivers/pgm2.cpp
@@ -804,7 +804,7 @@ MACHINE_CONFIG_START(pgm2_state::pgm2)
MCFG_PALETTE_ADD("bg_palette", 0x2000/4) // bg
MCFG_PALETTE_FORMAT(XRGB)
- MCFG_NVRAM_ADD_0FILL("sram")
+ NVRAM(config, "sram", nvram_device::DEFAULT_ALL_0);
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();