diff options
author | 2021-10-05 19:16:42 +0200 | |
---|---|---|
committer | 2021-10-05 19:16:42 +0200 | |
commit | eae75824d3c8d697216a9782b9f7ca6494ef431d (patch) | |
tree | eb98e1e99941c8843fe2196480927eefb00e2784 /src/emu/softlist_dev.cpp | |
parent | 716c9f4c863ca150ff519429b24168df9890f1b1 (diff) |
softlist.cpp: Add support for a 'notes' field to store information ab… (#8482)
* softlist.cpp: Add support for a 'notes' field to store information about a software list or software list item. [Wilbert Pol]
* Add software list and software notes to minimaws
Diffstat (limited to 'src/emu/softlist_dev.cpp')
-rw-r--r-- | src/emu/softlist_dev.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp index 7d25dd17013..7d7e1930089 100644 --- a/src/emu/softlist_dev.cpp +++ b/src/emu/softlist_dev.cpp @@ -89,7 +89,8 @@ software_list_device::software_list_device(const machine_config &mconfig, const m_list_type(softlist_type::ORIGINAL_SYSTEM), m_filter(nullptr), m_parsed(false), - m_description("") + m_description(""), + m_notes("") { } @@ -180,6 +181,7 @@ void software_list_device::release() m_filename.clear(); m_shortname.clear(); m_description.clear(); + m_notes.clear(); m_errors.clear(); m_infolist.clear(); } @@ -294,7 +296,7 @@ void software_list_device::parse() { // parse if no error std::ostringstream errs; - parse_software_list(file, m_filename, m_shortname, m_description, m_infolist, errs); + parse_software_list(file, m_filename, m_shortname, m_description, m_notes, m_infolist, errs); file.close(); m_errors = errs.str(); } |