pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: emulators/fbneo: fix building on aarch64 netbsd
On Mon, 10 Feb 2025, adr wrote:
P.S. There is a problem with audio latency, something that happens
with most (all?, only sdl?) applications. With mpv I have to
configure a negative delay of 300ms with rpi4 vc audio, or 500ms
with usb audio. This shouldn't happen, but that's another story
for another day...
I built retroarch and libretro-fbneo. The audio with audioio is
ok. If I set the audio driver to sdl2, I get the same latency that
I have with other aplications using sdl. There is some problem with
netbsd audio support in sdl.
By the way, libretro-fbneo's Makefile has
.elif ${MACHINE_ARCH} == "aarch64"
MAKE_FLAGS+= ENDIANNESS_DEFINES=-DLSB_FIRST aarch64
but the patch of burn_endian.h should include
---------------------
-// Xbox 360 has byteswap 64-bit intrinsic
-#ifndef _XBOX
+// Xbox 360 and NetBSD have byteswap 64-bit intrinsic
+#if !definded(_XBOX) && !defined(__NetBSD__)
---------------------
if you want to support this port with big endian platforms, although
I think the TWO_PIX_32 macro mess will cause problems...
Emulators/fbneo has better performance, specially at full screen, but
this version doesn't support joystick configuration:
https://github.com/finalburnneo/FBNeo/issues/1462
If I find time I'll make a port with the nightly builds on wip:
https://github.com/finalburnneo/FBNeo/releases/tag/latest
or ask for a new release.
Regards.
adr
Home |
Main Index |
Thread Index |
Old Index