summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/memory.h
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2012-12-26 13:06:11 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2012-12-26 13:06:11 +0000
commitb063bf769d57a8eae087ffbac01990e441724467 (patch)
treec820cb0b9259fcffe791ed5599fb597b120b2217 /src/emu/memory.h
parentf13190914eeb3197f916f48832cd0f633265b906 (diff)
added missing initialization of memory_share.m_next (nw)
Diffstat (limited to 'src/emu/memory.h')
-rw-r--r--src/emu/memory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/memory.h b/src/emu/memory.h
index 50dc92a319e..3c22185d2bf 100644
--- a/src/emu/memory.h
+++ b/src/emu/memory.h
@@ -729,7 +729,8 @@ class memory_share
public:
// construction/destruction
memory_share(UINT8 width, size_t bytes, void *ptr = NULL)
- : m_ptr(ptr),
+ : m_next(NULL),
+ m_ptr(ptr),
m_bytes(bytes),
m_width(width) { }