summarylogtreecommitdiffstats
path: root/local-cfg-write.patch
blob: b0c914ff5bf0f9470cd165dc1f9fb7b48d28e0cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- /home/terminalhash/build/flatwaifu/src/sdl2/main.c	2023-03-23 15:41:15.656873651 +0300
+++ /home/terminalhash/build/diff/flatwaifu/src/sdl2/main.c	2023-03-23 15:34:28.424926091 +0300
@@ -97,12 +97,12 @@
 static void CFG_load (void) {
   const cfg_t *list[] = { cfg, R_conf(), S_conf(), MUS_conf() };
   CFG_read_config("default.cfg", 4, list);
-  CFG_read_config("doom2d.cfg", 4, list);
+  CFG_read_config("~/flatwaifu/doom2d.cfg", 4, list);
 }
 
 static void CFG_save (void) {
   const cfg_t *list[] = { cfg, R_conf(), S_conf(), MUS_conf() };
-  CFG_update_config("doom2d.cfg", "doom2d.cfg", 4, list, "generated by doom2d, do not modify");
+  CFG_update_config("~/flatwaifu/doom2d.cfg", "~/flatwaifu/doom2d.cfg", 4, list, "generated by doom2d, do not modify");
 }
 
 /* --- error.h --- */