src/osd/winui/m32opts.c
| r1043 | r1044 | |
| 2685 | 2685 | core_options *opts; |
| 2686 | 2686 | const game_driver *driver = NULL; |
| 2687 | 2687 | |
| 2688 | opts = CreateGameOptions(game_num); |
| 2688 | 2689 | |
| 2689 | | opts = options_create(memory_error); |
| 2690 | | |
| 2691 | 2690 | if (opts == NULL) |
| 2692 | 2691 | { |
| 2693 | 2692 | return NULL; |
| 2694 | 2693 | } |
| 2695 | 2694 | |
| 2696 | | /* add the options */ |
| 2697 | | AddOptions(opts, mame_core_options, (GLOBAL_OPTIONS == game_num)); |
| 2698 | | AddOptions(opts, mame_win_options, (GLOBAL_OPTIONS == game_num)); |
| 2699 | | |
| 2700 | 2695 | /* Copy over the defaults */ |
| 2701 | 2696 | options_copy(opts, global); |
| 2702 | 2697 | |