diff options
author | 2018-08-24 09:26:15 +0200 | |
---|---|---|
committer | 2018-08-24 09:26:29 +0200 | |
commit | 5cb33a23c70a9748358303d66fedab79365cd16a (patch) | |
tree | 4ab74e70ecb2b236791cb21c2313c05539698348 /src/mame/machine/iteagle_fpga.cpp | |
parent | 3204234f8d7edce4a3373be3895d6852f3480ff8 (diff) |
-nvram: Removed MCFG, nw
Diffstat (limited to 'src/mame/machine/iteagle_fpga.cpp')
-rw-r--r-- | src/mame/machine/iteagle_fpga.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/machine/iteagle_fpga.cpp b/src/mame/machine/iteagle_fpga.cpp index d59bd508738..3b9db40f5ad 100644 --- a/src/mame/machine/iteagle_fpga.cpp +++ b/src/mame/machine/iteagle_fpga.cpp @@ -52,8 +52,8 @@ iteagle_fpga_device::iteagle_fpga_device(const machine_config &mconfig, const ch } MACHINE_CONFIG_START(iteagle_fpga_device::device_add_mconfig) - MCFG_NVRAM_ADD_0FILL("eagle2_rtc") - MCFG_NVRAM_ADD_1FILL("eagle1_bram") + NVRAM(config, "eagle2_rtc", nvram_device::DEFAULT_ALL_0); + NVRAM(config, "eagle1_bram", nvram_device::DEFAULT_ALL_1); // RS232 serial ports // The console terminal (com1) operates at 38400 baud @@ -787,9 +787,10 @@ WRITE32_MEMBER( iteagle_eeprom_device::eeprom_w ) // Attached Peripheral Controller //************************************ -MACHINE_CONFIG_START(iteagle_periph_device::device_add_mconfig) - MCFG_NVRAM_ADD_0FILL("eagle1_rtc") -MACHINE_CONFIG_END +void iteagle_periph_device::device_add_mconfig(machine_config &config) +{ + NVRAM(config, "eagle1_rtc", nvram_device::DEFAULT_ALL_0); +} DEFINE_DEVICE_TYPE(ITEAGLE_PERIPH, iteagle_periph_device, "iteagle_periph", "ITEagle Peripheral Controller") |