Created attachment 220982 [details] emulators_libretro-bsnes.shar Created new port for BSNES libretro core, which has slightly better compatibility than the BSNES core in Mednafen for retroarch (see. Rudra no Hihou) Tested with Retroarch 1.9.0 on FreeBSD 12.1-RELEASE: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252189
Any progress on this?
(In reply to Daniel Menelkir from comment #1) It is working for me, but let me know if it doesn't compile.
(In reply to Timothy Beyer from comment #2) It was more like a friendly ping, since most of libretro stuff is frozen here.
(In reply to Daniel Menelkir from comment #3) much appreciated, cheers!
Sorry, I forgot about these PRs, but I don't have time for them right now.
Doesn't work for me in 13.0-R poudriere: https://gist.github.com/lwhsu/9e404fddf2c8549ed32d49da002e7bfb Did I miss anything?
(In reply to Li-Wen Hsu from comment #6) I think it has an issue with FreeBSD 13.0-RELEASE, as I only had access to 12.1-RELEASE at the time I originally submitted the patch. I'm trying the current revision to see if that helps, but so far, it looks like some changes may be needed. I will submit a patch to address any issues shortly.
Created attachment 230309 [details] emulators_libretro-bsnes.diff * Fixes build on FreeBSD 13.0-RELEASE and newer by switching to g++: It is likely possible to get it working on clang++ again, but based on my research, it sounds like the current standard library and more recent versions of clang++ aren't working together properly, so when I can resolve that issue, I will remove the USE_GCC again. Updated to latest git revision, which is a bit more modern Minor adjustments See emulators_libretro-bsnes.diff for more details
Created attachment 233995 [details] [PATCH / NEW PORT] emulators_libretro-bsnes.diff (fix build, build with poudriere) This is a higher quality git-formatted patch that was tested with poudriere, fixing any issues with the prior submission. To clarify, note that this is actually a different emulator core than libretro's beetle snes in emulators/libretro-beetle_bsnes, with different advantages and tradeoffs. Neither core is necessarily better, but the compatibility varied on a few games at least at the time when I originally made this port. This submission should be ready to commit now, sorry about the prior missing dependencies.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf58926b4a0215e065e097cd24654587bfae1f19 commit bf58926b4a0215e065e097cd24654587bfae1f19 Author: Timothy Beyer <beyert@cs.ucr.edu> AuthorDate: 2022-06-27 07:03:15 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-06-27 07:04:03 +0000 Add emulators/libretro-bsnes Standalone port of bSNES 2014 (performance) to libretro emulator PR: 252190 emulators/Makefile | 1 + emulators/libretro-bsnes/Makefile (new) | 29 +++++++++++++++++++++++++++++ emulators/libretro-bsnes/distinfo (new) | 3 +++ emulators/libretro-bsnes/pkg-descr (new) | 3 +++ 4 files changed, 36 insertions(+)