Previous 199869 Revisions Next

r19162 Tuesday 27th November, 2012 at 11:20:57 UTC by Sandro Ronco
(MESS) floppy: added a more descriptive error message when it fails to identify the image format. (nw)
[src/emu/imagedev]floppy.c

trunk/src/emu/imagedev/floppy.c
r19161r19162
260260   }
261261
262262   if(!best_format)
263   {
264      seterror(IMAGE_ERROR_INVALIDIMAGE, "Unable to identify the image format");
263265      return IMAGE_INIT_FAIL;
266   }
264267
265268   image = global_alloc(floppy_image(tracks, sides, form_factor));
266269   best_format->load(&io, form_factor, image);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team