ports/emulators/x16-emulator/files/patch-main.c
Max Brazhnikov b126f195ea Add new ports, emulators/x16-emulator and emulators/x16-rom:
Emulator and rom for Commander X16 - modern 8-bit computer inspired
by Commodore 64.

WWW: https://github.com/commanderx16
2020-03-27 14:10:30 +00:00

11 lines
359 B
C

--- 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.