summarylogtreecommitdiffstats
path: root/modify-base-path.patch
diff options
context:
space:
mode:
authorjuju21432019-09-20 16:42:50 -0400
committerjuju21432019-09-20 16:42:50 -0400
commit5c728bd388bc6e6eb6821c44035e39fe32ab4ca7 (patch)
tree2987a9ed7deada72ca53f9ea6643bfd76fdb429d /modify-base-path.patch
parent5c6afea28adb815bbbb32a82392bfc423f9fefeb (diff)
downloadaur-5c728bd388bc6e6eb6821c44035e39fe32ab4ca7.tar.gz
Change default ROM path
Diffstat (limited to 'modify-base-path.patch')
-rw-r--r--modify-base-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/modify-base-path.patch b/modify-base-path.patch
new file mode 100644
index 000000000000..00a356f0b305
--- /dev/null
+++ b/modify-base-path.patch
@@ -0,0 +1,11 @@
+--- main.c.old 2019-09-20 16:32:26.460096000 -0400
++++ main.c 2019-09-20 16:32:10.830095139 -0400
+@@ -303,7 +303,7 @@
+
+ run_after_load = false;
+
+- char *base_path = SDL_GetBasePath();
++ char *base_path = "/usr/share/x16-rom/";
+
+ // This causes the emulator to load ROM data from the executable's directory when
+ // no ROM file is specified on the command line.