summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devdelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/devdelegate.h')
-rw-r--r--src/emu/devdelegate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emu/devdelegate.h b/src/emu/devdelegate.h
index 47af86d84c3..a9b2f5aca95 100644
--- a/src/emu/devdelegate.h
+++ b/src/emu/devdelegate.h
@@ -35,6 +35,10 @@ protected:
// internal state
const char *m_device_name;
+
+public:
+ // getter (for validation purposes)
+ const char *device_name() const { return m_device_name; }
};
@@ -98,9 +102,6 @@ public:
// perform the binding
void bind_relative_to(device_t &search_root) { if (!basetype::isnull()) basetype::late_bind(bound_object(search_root)); }
-
- // getter (for validation purposes)
- const char *device_name() const { return m_device_name; }
};