Previous 15994 Revisions Next

r4139 Thursday 15th January, 2009 at 18:30:59 UTC by Wilbert Pol
Fixed a bug that overwrote specific error messages with a generic error message when mounitng an image.
[docs]messnew.txt
[src/mess]image.c

src/mess/image.c
r4138r4139
203203      slot->name = astring_alloc();
204204      slot->working_directory = astring_alloc();
205205
206      /* clear error message */
207      slot->err_message = NULL;
208
206209      /* setup the device */
207210      slot->dev = dev;
208211      slot->info = image_device_getinfo(machine->config, dev);
r4138r4139
796799   /* first unload the image */
797800   image_unload(image);
798801
802   /* clear any possible error messages */
803   image_clear_error(slot);
804
799805   /* record the filename */
800806   slot->err = set_image_filename(slot, path);
801807   if (slot->err)
r4138r4139
926932   image->playable = NULL;
927933   image->extrainfo = NULL;
928934   image->basename_noext = NULL;
929   image->err_message = NULL;
930935   image->ptr = NULL;
931936}
932937
r4138r4139
945950      /* call the unload function */
946951      if (slot->unload != NULL)
947952         slot->unload(slot->dev);
953   }
948954
949      image_clear(slot);
950      image_clear_error(slot);
951   }
955   image_clear(slot);
956   image_clear_error(slot);
952957}
953958
954959
docs/messnew.txt
r4138r4139
3737
3838- Changed the AT45DBxx and SST39VFxx to be a device. [Miodrag Milanovic]
3939
40- Fixed a bug that overwrote specific error messages with a generic error
41  message when mounitng an image.  [Wilbert Pol]
42
4043- Fixed a bug that caused the day of the week to not be properly returned by
4144  the DS1315.  (bug #1755) [Nathan Woods]
4245

Previous 15994 Revisions Next


© 1998-2018 The MESS Team