mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
(MESS) floppy: added a more descriptive error message when it fails to identify the image format. (nw)
This commit is contained in:
parent
4bb3984c83
commit
7373b52015
@ -260,7 +260,10 @@ bool floppy_image_device::call_load()
|
||||
}
|
||||
|
||||
if(!best_format)
|
||||
{
|
||||
seterror(IMAGE_ERROR_INVALIDIMAGE, "Unable to identify the image format");
|
||||
return IMAGE_INIT_FAIL;
|
||||
}
|
||||
|
||||
image = global_alloc(floppy_image(tracks, sides, form_factor));
|
||||
best_format->load(&io, form_factor, image);
|
||||
|
Loading…
Reference in New Issue
Block a user