aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/x16-emulator/files/patch-src_main.c
blob: 5e7960839ec9fb0984fbe38b08b4bdb93112ed54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/main.c.orig	2023-05-17 05:45:51 UTC
+++ src/main.c
@@ -575,7 +575,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.