src/osd/winui/mui_opts.c
| r8067 | r8068 | |
| 479 | 479 | } |
| 480 | 480 | } |
| 481 | 481 | } |
| 482 | | |
| 482 | #ifndef MESS |
| 483 | 483 | // if is_global is FALSE, blacklist global options |
| 484 | 484 | if (entrylist->name && !is_global && IsGlobalOption(entrylist->name)) |
| 485 | 485 | good_option = FALSE; |
| 486 | | |
| 486 | #endif |
| 487 | 487 | if (good_option) |
| 488 | 488 | { |
| 489 | 489 | memcpy(entries, entrylist, sizeof(options_entry)); |
| r8067 | r8068 | |
| 2289 | 2289 | { |
| 2290 | 2290 | filerr = core_fopen(filename, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS, &file); |
| 2291 | 2291 | if (filerr == FILERR_NONE) |
| 2292 | | { |
| 2292 | { |
| 2293 | 2293 | #ifdef MESS |
| 2294 | 2294 | options_output_ini_file(opts, file); /* required for MESS */ |
| 2295 | 2295 | #else |
| r8067 | r8068 | |
| 2734 | 2734 | /* if we have a valid game driver, parse game-specific INI files */ |
| 2735 | 2735 | if (driver != NULL) |
| 2736 | 2736 | { |
| 2737 | #ifndef MESS |
| 2737 | 2738 | const game_driver *parent = driver_get_clone(driver); |
| 2738 | 2739 | const game_driver *gparent = (parent != NULL) ? driver_get_clone(parent) : NULL; |
| 2739 | 2740 | |
| r8067 | r8068 | |
| 2793 | 2794 | { |
| 2794 | 2795 | return opts; |
| 2795 | 2796 | } |
| 2796 | | |
| 2797 | #endif |
| 2797 | 2798 | ui_parse_ini_file(opts, driver->name); |
| 2798 | 2799 | |
| 2799 | 2800 | if (opt_type == OPTIONS_GAME) |