aboutsummaryrefslogtreecommitdiff
path: root/emulators/raine/files/patch-source_raine.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/files/patch-source_raine.c')
-rw-r--r--emulators/raine/files/patch-source_raine.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/emulators/raine/files/patch-source_raine.c b/emulators/raine/files/patch-source_raine.c
new file mode 100644
index 000000000000..7cfc040154ad
--- /dev/null
+++ b/emulators/raine/files/patch-source_raine.c
@@ -0,0 +1,39 @@
+--- source/raine.c.bak Thu Nov 17 17:58:51 2005
++++ source/raine.c Thu Nov 17 17:57:32 2005
+@@ -92,6 +92,17 @@
+ {
+ int i,ta,version_id;
+ char str[256],*s;
++ char *dirs[] = {
++ "config",
++ "savegame",
++ "savedata",
++ "roms",
++ "demos",
++ "snapshot",
++ "artwork",
++ NULL
++ };
++ char **dirp = dirs;
+ #ifdef GFX_FBCON
+ FILE *f;
+ #endif
+@@ -241,18 +252,6 @@
+ raine_cfg.hide = 0;
+ raine_cfg.req_load_game = 0;
+ raine_cfg.req_game_index = 0;
+-
+- char *dirs[] = {
+- "config",
+- "savegame",
+- "savedata",
+- "roms",
+- "demos",
+- "snapshot",
+- "artwork",
+- NULL
+- };
+- char **dirp = dirs;
+
+ mkdir_rwx(dir_cfg.exe_path);
+ while (*dirp) {