From b126f195ea867714c52d3f11d2d79a8ac225c243 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Fri, 27 Mar 2020 14:10:30 +0000 Subject: 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 --- emulators/x16-emulator/files/patch-main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emulators/x16-emulator/files/patch-main.c (limited to 'emulators/x16-emulator/files/patch-main.c') 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. -- cgit v1.2.3