diff options
author | nia <nia@pkgsrc.org> | 2020-01-09 10:28:11 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-09 10:28:11 +0000 |
commit | 2f13ade679709dab9ebc45a20efbedd2897572c5 (patch) | |
tree | d7831c23e81b289b35b4df7ac344468495755c85 /emulators | |
parent | 17736d2ed3e512ece443bd690176f84d3f8558b6 (diff) | |
download | pkgsrc-2f13ade679709dab9ebc45a20efbedd2897572c5.tar.gz |
libretro-nestopia: Remove old patch
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/libretro-nestopia/patches/patch-libretro_libretro.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/emulators/libretro-nestopia/patches/patch-libretro_libretro.cpp b/emulators/libretro-nestopia/patches/patch-libretro_libretro.cpp deleted file mode 100644 index a7bec9c5ea6..00000000000 --- a/emulators/libretro-nestopia/patches/patch-libretro_libretro.cpp +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-libretro_libretro.cpp,v 1.2 2018/08/11 20:26:12 nia Exp $ - -retroarch normally expects to find the NstDatabase.xml file in -~/.config/retroarch/bios, but there's no real reason to be editing it. -Rather than have users manually copy the file into place, we install it -system-wide and look for it there instead. - ---- libretro/libretro.cpp.orig 2018-06-24 23:26:58.000000000 +0000 -+++ libretro/libretro.cpp -@@ -1073,7 +1073,7 @@ bool retro_load_game(const struct retro_ - } - delete custompalette; - -- sprintf(db_path, "%s%cNstDatabase.xml", dir, slash); -+ snprintf(db_path, sizeof(db_path), "%s/share/libretro-nestopia/NstDatabase.xml", PREFIX); - - if (log_cb) - log_cb(RETRO_LOG_INFO, "NstDatabase.xml path: %s\n", db_path); |