Bug 257170

Summary: [NEW PORT] emulators/libretro-flycast: Standalone port of flycast to libretro
Product: Ports & Packages Reporter: Timothy Beyer <beyert>
Component: Individual Port(s)Assignee: Neel Chauhan <nc>
Status: Closed FIXED    
Severity: Affects Only Me CC: beyert, dmenelkir, nc
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
emulators_libretro-flycast.shar
none
[PATCH / NEW PORT] higher quality patch that builds on poudriere, not sure if otherwise different beyert: maintainer-approval+

Description Timothy Beyer 2021-07-14 06:22:16 UTC
Created attachment 226444 [details]
emulators_libretro-flycast.shar

Last month I ported the libretro-flycast core to FreeBSD, and it has some advantages over libretro-reicast core, which I ported previously.  Notably, emulation of the Sega NAOMI platform, it works with dynarec enabled, and it is easier to use with retroarch.

Out of respect to the reicast developers, I still want to support both emulators, since reicast is the original codebase.  The authors of both emulators have different approaches that both have advantages.

Even though the core documentation claims otherwise, rewind usually works.  I tried numerous Dreamcast and NAOMI games that ran at full speed with high accuracy.
Comment 1 Timothy Beyer 2022-05-17 05:07:27 UTC
Created attachment 233990 [details]
[PATCH / NEW PORT] higher quality patch that builds on poudriere, not sure if otherwise different

This is an updated git-formatted patch that builds on poudriere.  I don't recall if there were any issues with the prior patch, but updated it to a newer version that I tested on poudriere.
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2022-05-19 17:49:10 UTC
Committed!
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-05-19 17:50:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=316d2de4b5ea9565b4b81bc3e6e00165454d792c

commit 316d2de4b5ea9565b4b81bc3e6e00165454d792c
Author:     Timothy Beyer <beyert_freebsd@fastmail.net>
AuthorDate: 2022-05-17 03:53:46 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-05-19 17:49:21 +0000

    emulators/libretro-flycast: New port: Standalone port of flycast to libretro

    PR:     257170

 emulators/Makefile                                 |  1 +
 emulators/libretro-flycast/Makefile (new)          | 63 ++++++++++++++++++++++
 emulators/libretro-flycast/distinfo (new)          |  3 ++
 .../libretro-flycast/files/patch-Makefile (new)    | 33 ++++++++++++
 .../files/patch-core_hw_aica_dsp__x64.cpp (new)    | 11 ++++
 .../files/patch-core_hw_bba_rtl8139c.h (new)       | 18 +++++++
 ...-core_libretro-common_rthreads_rthreads.c (new) | 14 +++++
 emulators/libretro-flycast/pkg-descr (new)         |  6 +++
 emulators/libretro-flycast/pkg-message (new)       | 14 +++++
 9 files changed, 163 insertions(+)