summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Devin Acker <d@revenant1.net>2023-10-17 20:08:04 -0400
committer GitHub <noreply@github.com>2023-10-17 20:08:04 -0400
commit4954807f283745229f4e36166476e6502d95eebb (patch)
tree647f56b53fee9e1c4055e76040d9cb2a64e879b7
parent8c9b339442496460ad3279bfd83ee6703ef4457d (diff)
casio_ra3_device: fill newly created image with zero instead of 0xff (#11626)
-rw-r--r--src/mame/casio/ra3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/casio/ra3.cpp b/src/mame/casio/ra3.cpp
index 64967093950..acf8e73d533 100644
--- a/src/mame/casio/ra3.cpp
+++ b/src/mame/casio/ra3.cpp
@@ -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);