mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
ram: set default fill value to 0xff instead of 0xcd
This commit is contained in:
parent
ffb70cfb71
commit
23574365a6
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user