Previous 15994 Revisions Next

r8573 Wednesday 21st July, 2010 at 16:21:25 UTC by Miodrag Milanović
Fixed error in handling image devices.
[src/emu]machine.c mame.c

src/emu/machine.c
r8572r8573
225225
226226running_machine::~running_machine()
227227{
228   /* clear flag for added devices */
229   options_set_bool(&m_options, OPTION_ADDED_DEVICE_OPTIONS, FALSE, OPTION_PRIORITY_CMDLINE);
228230}
229231
230232
src/emu/mame.c
r8572r8573
564564   filerr = mame_fopen_options(options, SEARCHPATH_INI, fname, OPEN_FLAG_READ, &file);
565565   if (filerr != FILERR_NONE)
566566      return FALSE;
567
568   /* clear flag for added devices */
569   options_set_bool(options, OPTION_ADDED_DEVICE_OPTIONS, FALSE, OPTION_PRIORITY_CMDLINE);
570567   
571568   /* update game name so depending callback options could be added */
572569   if (priority==OPTION_PRIORITY_DRIVER_INI) {     

Previous 15994 Revisions Next


© 1998-2018 The MESS Team