diff options
author | 2016-08-11 22:13:20 +1000 | |
---|---|---|
committer | 2016-08-11 22:13:20 +1000 | |
commit | c0b51e99f1602c16e71a8248746528eeefd61e07 (patch) | |
tree | b2bffa190ac544d964545568df39552eefe146f9 /src/emu/softlist_dev.h | |
parent | 74fc59935f8c80fd1477c7c447c3b1090a6bdf66 (diff) | |
parent | 549df5e6b0591c04a1f442586cf4f3786aafe991 (diff) |
Merge pull request #1228 from npwoods/fix_softlist_device_description
Fixed an issue that caused softlist device descriptions to be blank
Diffstat (limited to 'src/emu/softlist_dev.h')
-rw-r--r-- | src/emu/softlist_dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/softlist_dev.h b/src/emu/softlist_dev.h index bc72960105d..c144c93bc4a 100644 --- a/src/emu/softlist_dev.h +++ b/src/emu/softlist_dev.h @@ -145,7 +145,7 @@ public: const char *filename() { return m_file.filename(); } // getters that may trigger a parse - const char *description() { if (!m_parsed) parse(); return m_description.c_str(); } + const std::string &description() { if (!m_parsed) parse(); return m_description; } bool valid() { if (!m_parsed) parse(); return !m_infolist.empty(); } const char *errors_string() { if (!m_parsed) parse(); return m_errors.c_str(); } const std::list<software_info> &get_info() { if (!m_parsed) parse(); return m_infolist; } |