summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filemngr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/filemngr.cpp')
-rw-r--r--src/frontend/mame/ui/filemngr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/filemngr.cpp b/src/frontend/mame/ui/filemngr.cpp
index 74916b46ac1..8b4c758c69d 100644
--- a/src/frontend/mame/ui/filemngr.cpp
+++ b/src/frontend/mame/ui/filemngr.cpp
@@ -78,7 +78,7 @@ void menu_file_manager::fill_image_line(device_image_interface *img, std::string
filename.assign(img->basename());
// if the image has been loaded through softlist, also show the loaded part
- if (img->part_entry() != nullptr)
+ if (img->loaded_through_softlist())
{
const software_part *tmp = img->part_entry();
if (!tmp->name().empty())