summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pegasus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pegasus.cpp')
-rw-r--r--src/mame/drivers/pegasus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pegasus.cpp b/src/mame/drivers/pegasus.cpp
index 0be3df3f145..f509c095e46 100644
--- a/src/mame/drivers/pegasus.cpp
+++ b/src/mame/drivers/pegasus.cpp
@@ -421,7 +421,7 @@ image_init_result pegasus_state::load_cart(device_image_interface &image, generi
return image_init_result::FAIL;
}
- if (image.software_entry() != nullptr && size == 0)
+ if (image.loaded_through_softlist() && size == 0)
{
// we might be loading a cart compatible with all sockets!
// so try to get region "rom"