summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/infoxml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/infoxml.cpp')
-rw-r--r--src/frontend/mame/infoxml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp
index 778151f6074..0dc3aa5e4f6 100644
--- a/src/frontend/mame/infoxml.cpp
+++ b/src/frontend/mame/infoxml.cpp
@@ -1942,9 +1942,9 @@ void output_software_lists(std::ostream &out, device_t &root, const char *root_t
{
for (const software_list_device &swlist : software_list_device_iterator(root))
{
- if (&static_cast<device_t &>(swlist) == &root)
+ if (&static_cast<const device_t &>(swlist) == &root)
{
- assert(swlist.list_name.empty());
+ assert(swlist.list_name().empty());
continue;
}