diff options
Diffstat (limited to 'src/mame/drivers/megatech.cpp')
-rw-r--r-- | src/mame/drivers/megatech.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/megatech.cpp b/src/mame/drivers/megatech.cpp index d65f00b76c1..09091c55f16 100644 --- a/src/mame/drivers/megatech.cpp +++ b/src/mame/drivers/megatech.cpp @@ -724,7 +724,7 @@ image_init_result mtech_state::load_cart(device_image_interface &image, generic_ const char *pcb_name; uint32_t size = slot->common_get_size("rom"); - if (image.software_entry() == nullptr) + if (!image.loaded_through_softlist()) return image_init_result::FAIL; slot->rom_alloc(size, GENERIC_ROM8_WIDTH, ENDIANNESS_LITTLE); |