summaryrefslogtreecommitdiffstats
path: root/docs/release/src/osd/winui/emu_opts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/src/osd/winui/emu_opts.cpp')
-rw-r--r--docs/release/src/osd/winui/emu_opts.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/release/src/osd/winui/emu_opts.cpp b/docs/release/src/osd/winui/emu_opts.cpp
index f2304092f4c..a031c770ef4 100644
--- a/docs/release/src/osd/winui/emu_opts.cpp
+++ b/docs/release/src/osd/winui/emu_opts.cpp
@@ -232,11 +232,8 @@ void load_options(windows_options &opts, OPTIONS_TYPE opt_type, int game_num, bo
}
fname.clear();
- if (opt_type == OPTIONS_COMPUTER)
- fname = GetIniDir() + PATH_SEPARATOR + "computer.ini";
- else
- if (opt_type == OPTIONS_CONSOLE)
- fname = GetIniDir() + PATH_SEPARATOR + "console.ini";
+ if (opt_type == OPTIONS_ARCADE)
+ fname = GetIniDir() + PATH_SEPARATOR + "arcade.ini";
else
if (opt_type == OPTIONS_HORIZONTAL)
fname = GetIniDir() + PATH_SEPARATOR + "horizontal.ini";
@@ -284,11 +281,8 @@ void save_options(windows_options &opts, OPTIONS_TYPE opt_type, int game_num)
const game_driver *driver = NULL;
string fname, filepath;
- if (opt_type == OPTIONS_COMPUTER)
- fname = GetIniDir() + PATH_SEPARATOR + "computer.ini";
- else
- if (opt_type == OPTIONS_CONSOLE)
- fname = GetIniDir() + PATH_SEPARATOR + "console.ini";
+ if (opt_type == OPTIONS_ARCADE)
+ fname = GetIniDir() + PATH_SEPARATOR + "arcade.ini";
else
if (opt_type == OPTIONS_HORIZONTAL)
fname = GetIniDir() + PATH_SEPARATOR + "horizontal.ini";