diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-05-20 15:16:18 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-05-20 15:16:18 -0400 |
commit | 182028ea82ed42088c92efc8eb75974668b2b839 (patch) | |
tree | 5dfdfcb5d21bbd9767a1b2efbfface758be9c2cc /src/emu | |
parent | c0dff0ebcb5e5d29a016efce69838748a8c9191d (diff) |
Well, that was a bad typo (nw)
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine.h b/src/emu/machine.h index e08775f389a..0004b01e4ac 100644 --- a/src/emu/machine.h +++ b/src/emu/machine.h @@ -210,8 +210,8 @@ public: bool allow_logging() const { return !m_logerror_list.empty(); } // fetch items by name - [[deprecated("absolute tag lookup; use subdevice or finder instead"]] inline device_t *device(const char *tag) const { return root_device().subdevice(tag); } - [[deprecated("absolute tag lookup; use subdevice or finder instead"]] template <class DeviceClass> inline DeviceClass *device(const char *tag) { return downcast<DeviceClass *>(device(tag)); } + [[deprecated("absolute tag lookup; use subdevice or finder instead")]] inline device_t *device(const char *tag) const { return root_device().subdevice(tag); } + [[deprecated("absolute tag lookup; use subdevice or finder instead")]] template <class DeviceClass> inline DeviceClass *device(const char *tag) { return downcast<DeviceClass *>(device(tag)); } // immediate operations int run(bool quiet); |