(MESS) floppy.c: initialise error code instead of crashing when menu loads bad image [Peter Ferrie]

This commit is contained in:
peterferrie 2015-01-13 11:44:31 -08:00
parent 8436e02920
commit ccd5fae882

View File

@ -162,6 +162,7 @@ floppy_image_device::floppy_image_device(const machine_config &mconfig, device_t
fif_list(NULL)
{
extension_list[0] = '\0';
m_err = IMAGE_ERROR_INVALIDIMAGE;
}
//-------------------------------------------------