summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/device.h
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-03-11 17:17:00 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-03-11 17:17:00 +0000
commitd2c052dbefdee4f936874c138e6c072b1d3d4d67 (patch)
tree0d8b34aeb0ee241d97fcac8a3f0e95915a5a7ce6 /src/emu/device.h
parenta62e7d8be4b3fa00129edb870165edf95710c654 (diff)
Clean-ups and version bump (yes, I know, it's too late)mame0145u4
Diffstat (limited to 'src/emu/device.h')
-rw-r--r--src/emu/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/device.h b/src/emu/device.h
index 3decd2e6cf5..b45a21aecdf 100644
--- a/src/emu/device.h
+++ b/src/emu/device.h
@@ -365,7 +365,7 @@ protected:
optional_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, false>(base, tag), m_bytes(0) { }
virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag, m_bytes))); }
UINT32 bytes() const { return m_bytes; }
-
+
private:
// internal state
size_t m_bytes;
@@ -379,7 +379,7 @@ protected:
required_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, true>(base, tag), m_bytes(0) { }
virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag, m_bytes))); }
UINT32 bytes() const { return m_bytes; }
-
+
private:
// internal state
size_t m_bytes;