gameboy/slot.cpp: Fix error return for loose software

This commit is contained in:
AJR 2023-04-05 19:41:36 -04:00
parent a87bedf02a
commit e4cdc75b3d

View File

@ -64,7 +64,7 @@ std::error_condition gb_cart_slot_device_base::call_load()
if (result)
{
if (result == image_error::BADSOFTWARE && !loaded_through_softlist())
result = image_error::INVALIDLENGTH;
result = image_error::INVALIDIMAGE;
osd_printf_error("%s: %s\n", basename(), message);
}
return result;