diff --git a/src/devices/cpu/powerpc/ppccom.h b/src/devices/cpu/powerpc/ppccom.h index 97c0661afac..3492ce19b9d 100644 --- a/src/devices/cpu/powerpc/ppccom.h +++ b/src/devices/cpu/powerpc/ppccom.h @@ -7,8 +7,8 @@ Common PowerPC definitions and functions ***************************************************************************/ -#ifndef MAME_CPU_POWERPPC_PPCCOM_H -#define MAME_CPU_POWERPPC_PPCCOM_H +#ifndef MAME_CPU_POWERPC_PPCCOM_H +#define MAME_CPU_POWERPC_PPCCOM_H #pragma once @@ -475,4 +475,4 @@ enum extern offs_t ppc_dasm_one(std::ostream &stream, uint32_t pc, uint32_t op); -#endif // MAME_CPU_POWERPPC_PPCCOM_H +#endif // MAME_CPU_POWERPC_PPCCOM_H diff --git a/src/devices/machine/ram.cpp b/src/devices/machine/ram.cpp index 6aca1ceeff8..7ae8b6d8682 100644 --- a/src/devices/machine/ram.cpp +++ b/src/devices/machine/ram.cpp @@ -163,7 +163,7 @@ void ram_device::device_start() // allocate space for the ram m_pointer = std::make_unique(m_size); - std::fill_n(m_pointer.get(), m_size, 0); + std::fill_n(m_pointer.get(), m_size, m_default_value); // register for state saving save_item(NAME(m_size));