diff options
author | Vas Crabb <vas@vastheman.com> | 2020-03-10 18:21:10 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-03-10 18:21:10 +1100 |
commit | 9c600695f0ed4456270bf5f1676b8fadaed34127 (patch) | |
tree | 1e52fb8b786e9bece80b05e2f583bba207f5af7c /src/emu/device.h | |
parent | cc70fe02bacdf8dc17fe75065e387276c8056e5e (diff) |
(nw) Cleanup on the way:
* Add doxygen comments for bit manipulation functions
* Add an overload of BIT that works like the AArch64 UBFX instruction
* Kill off some of the silly concatenating overloads for emu_file::open
* Make searchpath acually useful for devices
This is a checkpoint - I'm planning to improve ROM loading behaviour at
least a little.
Diffstat (limited to 'src/emu/device.h')
-rw-r--r-- | src/emu/device.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/device.h b/src/emu/device.h index d6e35a5c1b7..941be58f798 100644 --- a/src/emu/device.h +++ b/src/emu/device.h @@ -529,7 +529,7 @@ public: device_type type() const { return m_type; } const char *name() const { return m_type.fullname(); } const char *shortname() const { return m_type.shortname(); } - const char *searchpath() const { return m_searchpath.c_str(); } + virtual std::vector<std::string> searchpath() const; const char *source() const { return m_type.source(); } device_t *owner() const { return m_owner; } device_t *next() const { return m_next; } @@ -798,7 +798,6 @@ protected: // core device properties device_type m_type; // device type - std::string m_searchpath; // search path, used for media loading // device relationships & interfaces device_t * m_owner; // device that owns us |