Previous 15994 Revisions Next

r8570 Wednesday 21st July, 2010 at 13:26:57 UTC by Miodrag Milanović
Now fully functional
[src/emu]mame.c

src/emu/mame.c
r8569r8570
565565   if (filerr != FILERR_NONE)
566566      return FALSE;
567567
568   /* clear flag for added devices */
569   options_set_bool(options, OPTION_ADDED_DEVICE_OPTIONS, FALSE, OPTION_PRIORITY_CMDLINE);
570   
568571   /* update game name so depending callback options could be added */
569   options_force_option_callback(options, OPTION_GAMENAME, name, OPTION_PRIORITY_CMDLINE);
572   if (priority==OPTION_PRIORITY_DRIVER_INI) {     
573      options_force_option_callback(options, OPTION_GAMENAME, name, priority);
574   }
570575   
571576   /* parse the file and close it */
572   mame_printf_verbose("Parsing %s.ini\n", name);
573577   options_parse_ini_file(options, mame_core_file(file), priority);
574578   mame_fclose(file);
575579   return TRUE;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team