4297 Commits
Author SHA1 Message Date
Craig b51612a74c Merge pull request #63 from sunlollyking/serialization-quirks
libretro: report that states are incomplete
2026-11-06 15:23:20 +00:00
Chris 2963db9c62 libretro: report that states are incomplete
Loading a state reinitializes the system. A frontend that loads one
every frame from power-on, as run-ahead does, keeps the game from ever
booting and shows a black screen.

Report RETRO_SERIALIZATION_QUIRK_INCOMPLETE so frontends don't rely on
states for run-ahead or netplay.
2026-10-16 19:00:14 +01:00
Craig 05439f9612 Merge pull request #61 from Renkoto/master
libretro: fix build on BSD systems
2026-09-19 21:36:56 +01:00
LibretroAdmin 260f523441 Merge pull request #62 from cscd98/wiiu 2026-09-04 14:25:28 +02:00
Craig Carnell 97252e4b84 libretro: replace mwup with __wiiu__ 2026-09-04 13:11:01 +01:00
💜Sumimi~💜 0915cdfa46 libretro: fix build on BSD systems 2026-09-02 14:42:31 -05:00
Craig Carnell 6d19eef583 libretro: build fixes since update 2026-08-12 19:32:08 +01:00
Craig Carnell 41b3757beb Merge upstream bsnes/master 2026-08-12 15:36:05 +01:00
LibretroAdmin 3a0c45433f Merge pull request #56 from Starlightbotanist/master nightly 2026-08-12 15:57:43 +02:00
LibretroAdmin c5471dd094 Merge pull request #60 from cscd98/vfs 2026-08-12 15:57:20 +02:00
Craig Carnell 160460214b libretro: add VFS support 2026-08-12 14:49:04 +01:00
Craig Carnell 6cde999908 libretro: update libretro-common from RA 2026-08-12 14:30:23 +01:00
LibretroAdmin 9c1285dda7 Merge pull request #58 from cscd98/android-fix
libretro: fix  error: 'is_signed' cannot be specialized
2026-07-19 20:41:25 +02:00
Craig Carnell 3bd88c0536 libretro: fix error: 'is_signed' cannot be specialized 2026-07-19 19:09:34 +01:00
Morilli 7d5aa1e656 fix horizontal offset in high-resolution offset-by-tile mode 2026-05-23 16:51:31 +10:00
Starlightbotanist 2c53b5fb29 Update Android.mk
Fix for 32bit android build
2026-05-21 12:32:34 -04:00
Starlightbotanist 71ee4d80e9 Update Android.mk
Fix for 32bit android build
2026-05-21 12:31:06 -04:00
LibretroAdmin d62d219ac2 Merge pull request #48 from cscd98/master
Fix compilation on webOS, add to CI
2026-04-20 19:27:03 +02:00
Craig Carnell 289af31242 Fix compilation on GCC 14+ and add webOS to gitlab-ci 2026-04-02 16:26:53 +01:00
LibretroAdmin 399bdedb20 Merge pull request #54 from warmenhoven/warmenhoven/pr/linux-aarch64
add linux-aarch64 build
2026-03-31 02:34:14 +02:00
Eric WarmenhovenandClaude Opus 4.6 f6831fbd24 add linux-aarch64 build
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-30 15:03:10 -04:00
Tim Allen cb6ce0c537 MSYS2 doesn't have a "mingw-w64-gcc" package, and also needs "make". 2026-03-19 18:47:05 +11:00
Tim Allen 91cc8b8ef4 Document build instructions.
Fixes #60, #379
2026-03-19 18:47:05 +11:00
Akiteru b7304334e6 CX4 cache and bus access timing fixes
- Step 1+WS on both reads for cache, not just one
- Remove extra cycle on bus reads/writes
2026-02-16 20:13:15 +11:00
Akiteru bd4a425b87 CX4 program cache behaviour improvements
- When triggering a cache preload by writing to $7f48, update the pb register with the prepared program page
- When preloading a page, ignore all runtime checks and reload the page immediately
2026-02-16 20:13:15 +11:00
github-actions[bot] d0a61b2c67 Fetch translations & Recreate libretro_core_options_intl.h 2026-01-16 09:25:55 +00:00
bh247484 ae5cc6010b Add MacOS build artifacts to out gitignore 2026-01-09 15:10:12 +11:00
github-actions[bot] d9b7c292cf Fetch translations & Recreate libretro_core_options_intl.h 2025-12-19 09:25:43 +00:00
github-actions[bot] c11dd1f855 Fetch translations & Recreate libretro_core_options_intl.h 2025-11-14 09:24:41 +00:00
github-actions[bot] 57155d8037 Fetch translations & Recreate libretro_core_options_intl.h 2025-10-10 09:24:24 +00:00
github-actions[bot] e0e6cef465 Fetch translations & Recreate libretro_core_options_intl.h 2025-10-03 09:24:34 +00:00
github-actions[bot] aeb76d7dc3 Fetch translations & Recreate libretro_core_options_intl.h 2025-09-19 09:24:17 +00:00
Tim Allen 385b34933d Remove GTK+2 support.
Although it had HIRO_GTK==3 sections, hiro/gtk/monitor.cpp was actually using
deprecated GTK+2 APIs on GTK3, and the GTK3 code was broken and wouldn't
compile.
2025-09-03 19:31:42 +10:00
John Chadwick 22a2e0a165 Add FreeBSD build to GitHub Actions 2025-09-02 18:13:34 +10:00
John ChadwickandStefan Schlosser 9716212d70 hiro/qt: HexEdit: Match scroll logic with ares
I didn't realize that some of the Qt deprecations were already fixed in
ares. In this case, the change was handled a bit differently, always
considering the y component of scrolling even when the scroll operation
is mostly horizontal. This should work just fine, so we may as well just
adopt that behavior, especially since bsnes doesn't even currently use a
HexEdit.

Backported from ares from:
https://github.com/ares-emulator/ares/commit/ffe97222a1aabd325c301e07ba40042ea58ff081

Co-authored-by: Stefan Schlosser <[email protected]>
2025-09-02 18:09:42 +10:00
John ChadwickandNear 27fdd39e5c hiro/qt: Fix missing overrides
There are a handful of spots in hiro/qt where methods override Qt
virtual methods, but they are not declared as such.

These are backported from ares from:
https://github.com/ares-emulator/ares/commit/960d8a8dcb7b550332a8fc40955b0fd11a9322b3

Co-authored-by: Near <[email protected]>
2025-09-02 18:09:42 +10:00
John Chadwickandinvertego b3ce74253e hiro/qt: Explicitly use nall string in call to Font::size
This is back-ported from ares:
https://github.com/ares-emulator/ares/commit/0d131bf4d83422e60f6ca40ba1cdf3a5dac51db3

Co-authored-by: invertego <[email protected]>
2025-09-02 18:09:42 +10:00
John ChadwickandNear 64a433a644 hiro/qt: Fix incorrect argument to nall::image::scale
The `linear` parameter to `image::scale` is a boolean, not an
enumeration.

This is a back port from ares:
https://github.com/ares-emulator/ares/commit/960d8a8dcb7b550332a8fc40955b0fd11a9322b3

Also, remove the blob of commented code. This was removed in ares v117.

Co-authored-by: Near <[email protected]>
2025-09-02 18:09:42 +10:00
d3a3280f90 hiro/qt: Silence missing override warning in Clang for moc code
With Qt 6 maybe it is possible to finally start cleaning that issue up
in the first place, but for now it's probably better for bsnes and ares
to align closer.

This is backported from the following ares commits:
https://github.com/ares-emulator/ares/commit/0d131bf4d83422e60f6ca40ba1cdf3a5dac51db3
https://github.com/ares-emulator/ares/commit/960d8a8dcb7b550332a8fc40955b0fd11a9322b3

Co-authored-by: Near <[email protected]>
Co-authored-by: invertego <[email protected]>
2025-09-02 18:09:42 +10:00
John ChadwickandStefan Schlosser 924fa315dc hiro/qt: Unify Monitor implementation with ares
Some of the work I'd done was duplicating existing work. Let's unify to
get the best of both works.

This mostly comes from:
https://github.com/ares-emulator/ares/commit/ffe97222a1aabd325c301e07ba40042ea58ff081

Co-authored-by: Stefan Schlosser <[email protected]>
2025-09-02 18:09:42 +10:00
John ChadwickandStefan Schlosser 50ac621430 hiro/qt: Better fix for QFontMetrics::width deprecation
The desired size was probably the boundingRect width and not the advance
width, so the fix from bsdcode is better than mine.

This is backported from ares:
https://github.com/ares-emulator/ares/commit/ffe97222a1aabd325c301e07ba40042ea58ff081

Co-authored-by: Stefan Schlosser <[email protected]>
2025-09-02 18:09:42 +10:00
b424c4b2f7 hiro/qt: Fixes in Application::initialize
- Call XInitThreads at initialization
- Remove spaces from screensaver window name
- Restore LC_NUMERIC after Qt clobbers it

This is sourced from ares v116r07, and:
https://github.com/ares-emulator/ares/commit/6cd447056282b9e810227cbbd841f979567b3b7e

Co-authored-by: Near <[email protected]>
Co-authored-by: Dragorn421 <[email protected]>
2025-09-02 18:09:42 +10:00
John ChadwickandNear ad259a55c0 hiro/qt: Silence xdg-screensaver output
Co-authored-by: Near <[email protected]>
2025-09-02 18:09:42 +10:00
John Chadwickandinvertego f83bc75270 hiro/qt: Add #if guards to X11 code
This is a backport from ares:
https://github.com/ares-emulator/ares/commit/b85395fe7b8445247d8a67ed90fda0235f22f1f1

Co-authored-by: invertego <[email protected]>
2025-09-02 18:09:42 +10:00
John Chadwick ec8aed3f3b hiro/qt: Add support for compiling with Qt 6 2025-09-02 18:02:58 +10:00
Tim Allen b7678f5261 hiro/gtk: Remove pendingEvents here too.
Now that pApplication::pendingEvents() has been removed from hiro/core, it
should be removed from the GTK+ backend too.
2025-09-02 01:13:17 +10:00
John Chadwick 08e6de3186 hiro/qt: Remove pendingEvents, add timeout to processEvents
Qt 6 no longer allows us to poll for the status of the event loop.
However, Qt 6 does still have a processEvents function, and the version
with the timeout actually spins the event loop and returns as early as
there are no more events in it. That's basically what we want to do. We
could run this with a really huge timeout, but that would just make it
more likely that hiro freezes up, so instead let's mirror hiro/gtk3 and
use a 50ms timeout.
2025-09-02 01:13:17 +10:00
John Chadwick aec384b4b0 hiro/core: Remove Application::pendingEvents
This does not seem to be used anywhere in bsnes, higan or ares. It's not
really possible to implement with Qt 6, which has stop exposing this
detail of the event loop. It turns out this is actually OK, since we
don't *really* need it anyway, and in the case of hiro/qt, the
replacement should be more robust anyways.
2025-09-02 01:13:17 +10:00
John Chadwick 253075bfd8 hiro/qt: Use QScreen for Monitor
Qt 5 introduces QScreen, which can be used to implement most of the
functionality needed by Monitor, although some of it probably won't make
sense when using Wayland.
2025-09-02 01:01:04 +10:00
John Chadwick 88de1f11f1 hiro/qt: Fix deprecated QWheelEvent->{delta,orientation}() usage
The orientation() and delta() methods of QWheelEvent were deprecated in
Qt 5.0 in favor of angleDelta(), which expresses higher-fidelity data
for devices like trackpads. In order to keep the behavior 100%
identical, the code used to calculate the orientation() and delta()
values in Qt 5.15 is inlined instead. That logic can be seen here:

https://github.com/qt/qtbase/blob/v5.15.17-lts-lgpl/src/gui/kernel/qevent.cpp#L876-L884

Following this logic, we also break the tie for orientation in favor of
vertical scrolling.

Since there is no actual HexEdit usage in bsnes, I tested it by putting
a dummy HexEdit widget inside the bsnes Presentation window. Scrolling
seemed to work as expected.
2025-09-02 00:52:37 +10:00