diff options
-rw-r--r-- | src/devices/bus/nes/nes_slot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/nes/nes_slot.cpp b/src/devices/bus/nes/nes_slot.cpp index 6b66dbb2aa6..812aa738399 100644 --- a/src/devices/bus/nes/nes_slot.cpp +++ b/src/devices/bus/nes/nes_slot.cpp @@ -887,6 +887,7 @@ image_init_result nes_cart_slot_device::call_load() else { logerror("%s is NOT a file in either iNES or UNIF format.\n", filename()); + seterror(IMAGE_ERROR_UNSPECIFIED, "File is neither iNES or UNIF format"); return image_init_result::FAIL; } } |