src/mess/osd/windows/configms.c
| r2984 | r2985 | |
| 29 | 29 | { |
| 30 | 30 | { NULL, NULL, OPTION_HEADER, "WINDOWS MESS SPECIFIC OPTIONS" }, |
| 31 | 31 | { "newui;nu", "0", OPTION_BOOLEAN, "use the new MESS UI" }, |
| 32 | | { "natural;nat", "0", OPTION_BOOLEAN, "specifies whether to use a natural keyboard or not" }, |
| 33 | 32 | { NULL } |
| 34 | 33 | }; |
| 35 | 34 | |
src/mess/messopts.c
| r2984 | r2985 | |
| 32 | 32 | const options_entry mess_core_options[] = |
| 33 | 33 | { |
| 34 | 34 | { NULL, NULL, OPTION_HEADER, "MESS SPECIFIC OPTIONS" }, |
| 35 | | { "ramsize;ram", NULL, 0, "size of RAM (if supported by driver)" }, |
| 35 | { "ramsize;ram", NULL, 0, "size of RAM (if supported by driver)" }, |
| 36 | 36 | { "writeconfig;wc", "0", OPTION_BOOLEAN, "writes configuration to (driver).ini on exit" }, |
| 37 | 37 | { OPTION_SKIP_WARNINGS, "0", OPTION_BOOLEAN, "skip displaying the warnings screen" }, |
| 38 | 38 | { OPTION_ADDED_DEVICE_OPTIONS, "0", OPTION_BOOLEAN | OPTION_INTERNAL, "device-specific options have been added" }, |
| 39 | { "natural;nat", "0", OPTION_BOOLEAN, "specifies whether to use a natural keyboard or not" }, |
| 39 | 40 | { NULL } |
| 40 | 41 | }; |
| 41 | 42 | |
| r2984 | r2985 | |
| 221 | 222 | char buffer[128]; |
| 222 | 223 | int retval = 1; |
| 223 | 224 | |
| 224 | | if (gamedrv) |
| 225 | if (gamedrv != NULL) |
| 225 | 226 | { |
| 226 | 227 | sprintf(buffer, "%s.ini", gamedrv->name); |
| 227 | 228 | filename = buffer; |
| r2984 | r2985 | |
| 235 | 236 | retval = 0; |
| 236 | 237 | |
| 237 | 238 | done: |
| 238 | | if (f) |
| 239 | if (f != NULL) |
| 239 | 240 | mame_fclose(f); |
| 240 | 241 | return retval; |
| 241 | 242 | } |