mirror of
https://github.com/holub/mame
synced 2025-06-06 04:43:45 +03:00
(MESS) floppy.c: initialise error code instead of crashing when menu loads bad image [Peter Ferrie]
This commit is contained in:
parent
8436e02920
commit
ccd5fae882
@ -162,6 +162,7 @@ floppy_image_device::floppy_image_device(const machine_config &mconfig, device_t
|
|||||||
fif_list(NULL)
|
fif_list(NULL)
|
||||||
{
|
{
|
||||||
extension_list[0] = '\0';
|
extension_list[0] = '\0';
|
||||||
|
m_err = IMAGE_ERROR_INVALIDIMAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user