summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/softlist_dev.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-12-08 04:00:49 +1100
committer Vas Crabb <vas@vastheman.com>2019-12-08 04:00:49 +1100
commitd8ef34be9a20cd28a11aef627c533554f49346b8 (patch)
treea528ea40e19161c36875af7baef7090ca86eb5dd /src/emu/softlist_dev.cpp
parentd4b3128e0d410c02dd2f82b52b3d626e86ef816e (diff)
softlist_dev.cpp: get some stuff out of the global namespace (nw)
Diffstat (limited to 'src/emu/softlist_dev.cpp')
-rw-r--r--src/emu/softlist_dev.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp
index 2c30be8b906..e177954b248 100644
--- a/src/emu/softlist_dev.cpp
+++ b/src/emu/softlist_dev.cpp
@@ -80,9 +80,9 @@ bool image_software_list_loader::load_software(device_image_interface &image, so
// software_list_device - constructor
//-------------------------------------------------
-software_list_device::software_list_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
- : device_t(mconfig, SOFTWARE_LIST, tag, owner, clock),
- m_list_type(SOFTWARE_LIST_ORIGINAL_SYSTEM),
+software_list_device::software_list_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
+ device_t(mconfig, SOFTWARE_LIST, tag, owner, clock),
+ m_list_type(softlist_type::ORIGINAL_SYSTEM),
m_filter(nullptr),
m_parsed(false),
m_file(mconfig.options().hash_path(), OPEN_FLAG_READ),
@@ -220,7 +220,7 @@ void software_list_device::display_matches(const machine_config &config, const c
if (matches[0] != nullptr)
{
// different output depending on original system or compatible
- if (swlistdev.list_type() == SOFTWARE_LIST_ORIGINAL_SYSTEM)
+ if (swlistdev.is_original())
osd_printf_error("* Software list \"%s\" (%s) matches: \n", swlistdev.list_name(), swlistdev.description());
else
osd_printf_error("* Compatible software list \"%s\" (%s) matches: \n", swlistdev.list_name(), swlistdev.description());