diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2020-03-27 14:10:30 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2020-03-27 14:10:30 +0000 |
commit | b126f195ea867714c52d3f11d2d79a8ac225c243 (patch) | |
tree | 8d7884f6fa9a2873468da4d40c239583f763c35a /emulators/x16-emulator/files/patch-main.c | |
parent | - Update to 3.2.7 (diff) |
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
Diffstat (limited to 'emulators/x16-emulator/files/patch-main.c')
-rw-r--r-- | emulators/x16-emulator/files/patch-main.c | 11 |
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. |