mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
casio_ra3_device: fill newly created image with zero instead of 0xff (#11626)
This commit is contained in:
parent
8c9b339442
commit
4954807f28
@ -55,7 +55,7 @@ void casio_ra3_device::call_unload()
|
||||
/**************************************************************************/
|
||||
std::pair<std::error_condition, std::string> casio_ra3_device::call_create(int format_type, util::option_resolution *format_options)
|
||||
{
|
||||
std::fill(m_ram.begin(), m_ram.end(), 0xff);
|
||||
std::fill(m_ram.begin(), m_ram.end(), 0);
|
||||
|
||||
const size_t size = m_ram.size();
|
||||
const size_t ret = fwrite(m_ram.data(), size);
|
||||
|
Loading…
Reference in New Issue
Block a user