diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:35:30 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:35:30 +0100 |
commit | 3a8ccb89b426509be06089a19c51ecf55567ed1b (patch) | |
tree | 235e38d0308a79ca812156ebc1f2493e134c6c50 /src/devices/machine | |
parent | 7c9cd3feea638281df93381c5a7a871d79a7ba17 (diff) |
Revert "Fixes (nw)"
This reverts commit 5f19489cd2d0cd0b65ac250ac4b76d666a50509c.
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/ram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/ram.h b/src/devices/machine/ram.h index a407a775304..e815242a8be 100644 --- a/src/devices/machine/ram.h +++ b/src/devices/machine/ram.h @@ -56,7 +56,7 @@ public: // accessors UINT32 size(void) const { return m_size; } UINT32 mask(void) const { return m_size - 1; } - UINT8 *pointer(void) { if (m_pointer.empty()) return nullptr; else return &m_pointer[0]; } + UINT8 *pointer(void) { return &m_pointer[0]; } static UINT32 parse_string(const char *s); UINT32 default_size(void) const; const char *extra_options(void) const { return m_extra_options; } |