mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
gameboy/slot.cpp: Fix error return for loose software
This commit is contained in:
parent
a87bedf02a
commit
e4cdc75b3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user