summaryrefslogtreecommitdiff
path: root/emulators/x16-emulator/files/patch-main.c
blob: 4ef3454b615c3bcddab40169b9e2d49b0ab34e45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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.