summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/machine/cammu.cpp1
-rw-r--r--src/mame/machine/cammu.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/machine/cammu.cpp b/src/mame/machine/cammu.cpp
index 1c2b82c689e..dabc637f085 100644
--- a/src/mame/machine/cammu.cpp
+++ b/src/mame/machine/cammu.cpp
@@ -153,7 +153,6 @@ cammu_c3_device::cammu_c3_device(const machine_config &mconfig, const char *tag,
cammu_device::cammu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, type, tag, owner, clock)
, m_exception_func(*this)
- , m_memory{0}
{
}
diff --git a/src/mame/machine/cammu.h b/src/mame/machine/cammu.h
index 1dbe48a7f02..83b44d4b120 100644
--- a/src/mame/machine/cammu.h
+++ b/src/mame/machine/cammu.h
@@ -239,7 +239,7 @@ protected:
struct memory_t
{
- address_space *space;
+ address_space *space = nullptr;
memory_access<32, 2, 0, ENDIANNESS_LITTLE>::cache cache;
};