mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
nes: if file has invalid header, say so
This commit is contained in:
parent
0b371f5962
commit
dff6fc11a0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user