summaryrefslogtreecommitdiff
path: root/emulators/x16-emulator/files/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/x16-emulator/files/patch-main.c')
-rw-r--r--emulators/x16-emulator/files/patch-main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/x16-emulator/files/patch-main.c b/emulators/x16-emulator/files/patch-main.c
new file mode 100644
index 000000000000..4ef3454b615c
--- /dev/null
+++ b/emulators/x16-emulator/files/patch-main.c
@@ -0,0 +1,11 @@
+--- main.c.orig 2020-01-22 19:56:11 UTC
++++ main.c
+@@ -442,7 +442,7 @@ main(int argc, char **argv)
+
+ run_after_load = false;
+
+- char *base_path = SDL_GetBasePath();
++ char *base_path = "%%PREFIX%%/share/x16-emulator/";
+
+ // This causes the emulator to load ROM data from the executable's directory when
+ // no ROM file is specified on the command line.