diff options
author | 2021-05-05 14:24:54 +0200 | |
---|---|---|
committer | 2021-05-05 14:24:54 +0200 | |
commit | 23574365a68afe1ef95ed5de010b4d8bc4f86198 (patch) | |
tree | ed953178725705d3954cea96f71c16a9db84105c | |
parent | ffb70cfb718e61a87a4393ac83925a079a5b611a (diff) |
ram: set default fill value to 0xff instead of 0xcd
-rw-r--r-- | src/devices/machine/ram.cpp | 3 | ||||
-rw-r--r-- | src/mame/drivers/lc80.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/machine/ram.cpp b/src/devices/machine/ram.cpp index d1cc4dc8328..40b361bdc6a 100644 --- a/src/devices/machine/ram.cpp +++ b/src/devices/machine/ram.cpp @@ -7,7 +7,6 @@ RAM device Provides a configurable amount of RAM to drivers TODO: -- default fill value of 0xCD makes no sense - add RAM size options to UI, eg. under Machine Configuration - remove limitations due to hardcoded RAM_TAG: + *configurable* RAM device can only be added to root device @@ -125,7 +124,7 @@ ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t : device_t(mconfig, RAM, tag, owner, clock) , m_size(0) , m_default_size(0) - , m_default_value(0xCD) + , m_default_value(0xff) , m_extra_options_string(nullptr) { } diff --git a/src/mame/drivers/lc80.cpp b/src/mame/drivers/lc80.cpp index 122cdb30fad..09329bf7d02 100644 --- a/src/mame/drivers/lc80.cpp +++ b/src/mame/drivers/lc80.cpp @@ -384,7 +384,6 @@ void lc80_state::lc80(machine_config &config) RAM(config, m_ram).set_extra_options("1K,2K,3K,4K"); m_ram->set_default_size("1K"); - m_ram->set_default_value(0xff); } void lc80_state::lc80a(machine_config &config) |