Commit Graph

3252 Commits

Author SHA1 Message Date
Alexandros Mandravillis b1fd460350 interrupts: retain handler k0 on qualified same-thread RFE 2026-10-17 18:01:31 +03:00
Matt Stanley 7cddab8237 Merge pull request #674 from RetroPortingToolKit/feat/ingame-quality-presets
In-game menu: the Graphics preset row (same contract as the launchers)
2026-10-16 14:21:36 -07:00
Shokunin b279afdc4a In-game presets: draw-thread-safe callbacks and a coherent menu seed
P1: quality_launcher_apply is now a pure preset -> rows mapping
(psxq::rows_from_runtime plus startup constants); it never writes the live
globals. The in-game menu publishes only thread-safe callbacks: that
mapper, and a re-detect that returns this session's detection (a fresh
probe needs the GL context and mutates the run's state, so it stays in the
pre-game launcher). Summary/reason strings and the detection are fixed on
the main thread at menu setup; settings_get reads only the main-thread
snapshot.

P2: psxq::MenuSelection keeps what the player selected versus what is live.
A pick's next-launch rows and netplay-deferred rows stay selected for the
next seed until the live value matches; other rows follow live. The host
classification moves to psxq::classify_launcher/row_differs (same rules).

Tests: quality_presets_test test_ingame_menu_host_path runs the review's
fixture through the host get/pick/apply/save path (Ultra -> High, then
Antialiasing = NONE; a governed edit is still Custom from High; a netplay-
deferred row stays selected). menu_quality_callbacks_test guards the
draw-thread callbacks against runtime writes and stateful calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 19:09:49 -07:00
Shokunin 004749ca8a quality_presets_test: the in-game menu's pick and governed edit
A hidden run keeps the saved preset without detecting; a menu pick of High
is saved and owns its keys; Smooth motion off while High is in force is a
governed live edit that saves Custom from High with its value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 15:44:05 -07:00
Shokunin aaeefc59f1 In-game menu: the Graphics preset row (same contract as the launchers)
mh_launcher_game_info publishes the presets (quality_fill_game_info),
mh_launcher_settings_get seeds the preset and the governed rows as in
force, and an applied menu change goes through quality_take_launcher, so
a pick or a governed edit is settled by the same save transaction
(settle_save) as the launchers. Shown rows apply live; preset-only keys
at the next launch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 14:53:45 -07:00
Matt Stanley 379565a6ff Merge pull request #673 from RetroPortingToolKit/feat/texture-filter-catalog
Launcher handoff: hand every frontend the texture-filter catalog
2026-10-15 13:56:46 -07:00
Matt Stanley 317250fd49 Merge pull request #591 from RetroPortingToolKit/feat/quality-presets
Graphics presets with hardware detection (opt-in per title)
2026-10-15 13:56:41 -07:00
Matthew Stanley 50958497c4 Integrate merged experimental wheel support before preset validation 2026-10-15 13:49:46 -07:00
Matt Stanley 97fe0df95a Merge pull request #609 from RetroPortingToolKit/feat/jogcon-force-feedback
JogCon force feedback on host wheels (SDL haptics, opt-in)
2026-10-15 13:43:00 -07:00
Matthew Stanley 12fe72c811 Integrate current master and canonical BIOS stamp for PR591 validation 2026-10-15 13:40:29 -07:00
Matthew Stanley a6ee3aa062 Integrate current master and canonical BIOS stamp for PR609 validation 2026-10-15 13:40:27 -07:00
Shokunin 8be777f1f1 quality presets: a supported key set, host-side Custom classification
- [quality.*] accepts only the supported keys (quality_key_supported):
  twelve player-editable ones (masked, copied, classified, applied) and
  nine preset-only ones (no settings.toml form; applied on select). Any
  other key, e.g. vsync or renderer, is a load error.
- Picking a preset now also applies bloom, texture LOD, anisotropy, FMV
  chroma smoothing and dithering (quality_apply_video_globals).
- The frontends flag Custom on any tracked row; the host counts only rows
  of keys the title governs (psxq::launcher_custom_edit), so Antialiasing
  no longer turns Ultra into Custom when no preset sets it.
Tests cover the rejection, every player key's masking/copy, and the
classification cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 10:57:27 -07:00
Shokunin c9c49c64d7 Launcher handoff: the texture-filter catalog for every frontend
Hands the launcher game info (pre-game launcher, soft return, and the
in-game menu's launcher_game_info) the [video] texture_filtering
vocabulary {Nearest, Bilinear, xBR} = PSX_TEXTURE_FILTER_{0,1,3}, so
frontends keep xBR across startup and soft return instead of collapsing
it to Bilinear. Needs a recomp_launcher.h with
RECOMP_LAUNCHER_HAS_TEXTURE_FILTER_CATALOG (recomp-ui); without it this
is a no-op.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 10:56:41 -07:00
Matthew Stanley 6d3c5308a7 Integrate current master and canonical BIOS stamp for preset re-review 2026-10-15 08:34:17 -07:00
Matthew Stanley 9f88c128f4 Preserve the selected preset base when launcher edits become Custom 2026-10-15 08:33:23 -07:00
Shokunin dc53ebe7d9 quality presets: document the preset/key-ownership transaction
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 01:07:32 -07:00
Shokunin ab49f294e9 quality presets: one preset/key-ownership transaction for every settings save
The boot launcher, soft-return launcher and the in-game menu's live
settings now save settings.toml through psxq::settle_save:
- a one-run PSX_QUALITY override never persists: governed keys and the
  quality_* keys come from disk, so the previous preset or Custom values
  survive even when the boot seed was built empty;
- a governed live edit (psxq::live_edit) or launcher Custom becomes
  Custom from the current base, with the edited values, and survives
  restart instead of being masked away;
- a launcher pick records the preset; unrelated edits keep it.
Tests reproduce both review cases through a settings.toml round trip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 01:05:25 -07:00
Matt Stanley 8d1c983b59 Merge pull request #668 from VuloB1/add-mega-man-legends
Add Mega Man Legends (community recomp) to the Games table
2026-10-15 00:57:49 -07:00
Matt Stanley b6835b6773 Merge pull request #667 from RetroPortingToolKit/work/prepared-resource-overlays
Support verified prepared resources as disc overlays
2026-10-15 00:51:10 -07:00
Matt Stanley d686cacd78 Merge pull request #597 from RetroPortingToolKit/perf/gcs-batch
timing: opt-in batching of the scaled CPU charge
2026-10-15 00:39:16 -07:00
Matthew Stanley d110d0a423 Integrate current master for reviewed PR597 and retain canonical BIOS stamp 2026-10-15 00:36:07 -07:00
Matt Stanley d550ddf2e9 Merge pull request #590 from RetroPortingToolKit/feat/idle-skip-store-counters
idle_skip: elide store-counter wait loops (PsyQ v_wait), opt-in
2026-10-15 00:34:00 -07:00
Matt Stanley bf7582bb3e Merge pull request #666 from FractalEngineer/feat/vr-hud-surfaces
Add isolated render capture and head-facing surfaces for VR HUDs
2026-10-15 00:33:52 -07:00
Matt Stanley 9521343200 Merge pull request #664 from RetroPortingToolKit/fix/menu-host-followups
Menu host follow-ups: restart bits for touched groups, local return, recomp-ui default provider
2026-10-15 00:33:44 -07:00
Matt Stanley 33643879f4 Merge pull request #593 from RetroPortingToolKit/feat/game-mode
Game Mode: Steam Deck / gamescope boots straight into the game, fullscreen
2026-10-15 00:33:37 -07:00
Vulito 6f3e24c712 Add Mega Man Legends (community recomp) to the Games table 2026-10-15 04:24:13 -03:00
Matthew Stanley 99a3a722a3 Respect diagnostic replay clock-only semantics in the timing fixture 2026-10-15 00:23:25 -07:00
Matthew Stanley ca2978acd1 Check scaled charge service observations during replay and conservative execution 2026-10-15 00:22:12 -07:00
Matthew Stanley fd6b89ccc7 Resolve verified resource slices as disc overlays 2026-10-15 00:18:30 -07:00
Matthew Stanley 08076d8703 Integrate current master for reviewed PR666 and retain canonical BIOS stamp 2026-10-15 00:00:15 -07:00
Matthew Stanley 981c54e8d6 Integrate current master for reviewed PR664 and retain canonical BIOS stamp 2026-10-15 00:00:12 -07:00
Matthew Stanley d946aec09a Integrate current master for reviewed PR597 and retain canonical BIOS stamp 2026-10-15 00:00:06 -07:00
Matthew Stanley 80674e4d9f Integrate current master for reviewed PR593 and retain canonical BIOS stamp 2026-10-14 23:59:50 -07:00
Matthew Stanley 2d2c1849f3 Integrate current master for reviewed PR591 and retain canonical BIOS stamp 2026-10-14 23:59:13 -07:00
Matthew Stanley e0800a28e0 Integrate current master for reviewed PR590 and retain canonical BIOS stamp 2026-10-14 23:58:57 -07:00
Matthew Stanley 224d6d1273 Validate isolated render capture restoration and buffer rejection 2026-10-14 23:54:01 -07:00
Matthew Stanley d30da497ea Exercise XR HUD compositing through the real GL submission fixture 2026-10-14 23:51:51 -07:00
Matthew Stanley dfd4555d09 Include fixed scaled-charge batching profile in netplay compatibility 2026-10-14 23:51:49 -07:00
Matthew Stanley 2947916215 Detect active gamepad sessions without hijacking Deck Desktop Mode 2026-10-14 23:49:26 -07:00
Matt Stanley 6e177acccc Merge pull request #665 from RetroPortingToolKit/work/native-wide-dynres-composite
fix(gpu): retain wide composites across internal-resolution steps
2026-10-14 15:42:57 -07:00
Matthew Stanley 28e12c7372 fix(gpu): retain wide composites when internal resolution changes 2026-10-14 14:25:24 -07:00
Yves 99dd1eee46 Add head-facing billboard surfaces with shared stereo orientation 2026-10-15 05:17:38 +08:00
Yves 890fed78f5 Add frame-local positioned RGBA surfaces to stereo rendering 2026-10-15 05:17:37 +08:00
Yves 062d6e39e0 Add isolated render capture with staged RGBA readback 2026-10-15 05:17:37 +08:00
Matt Stanley f9c287f523 Merge pull request #663 from RetroPortingToolKit/work/final-bout-sprite-background
Allow guarded opaque sprite backgrounds in native-wide rendering
2026-10-14 12:24:52 -07:00
Shokunin 9575de1ad8 psx_menu_host.h: feature macro for default_selection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 12:17:30 -07:00
Shokunin c3a2f2c068 Menu host follow-ups: restart bits for touched groups, local return, default provider
- Restart bits: a group waits only when the edit touches it (next differs
  from the live value) and the result differs from boot. Dynamic
  resolution moves the live internal resolution off boot, so an in-game
  texture filter change relaunched the game. test_menu_video_snapshot
  covers both cases.
- Return to the frontend from a local game opens the launcher as at
  boot; only a lobby match start (the runtime's pending-launch exit, or
  the provider's lobby view asking once its match started) keeps the
  launch and resumes the room.
- Default provider: with no title choice, the UI library's provider is
  used when it ships one (recomp_ui_psx_menu.h), so recomp-ui stays the
  default; PsxMenuHost.default_selection tells it to keep the title's
  default presentation.
- Debug: menu_host reports provider, open, pause, capture and snapshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 12:17:18 -07:00
Matthew Stanley a36754b7ee feat(renderer): allow guarded opaque sprite backgrounds in native wide 2026-10-14 12:11:10 -07:00
Matt Stanley d3db61b199 Merge pull request #598 from RetroPortingToolKit/feat/host-pause
Host pause API (in-game overlay P1)
2026-10-14 11:55:36 -07:00
Matt Stanley 34a458d015 Merge pull request #599 from RetroPortingToolKit/feat/overlay-draw-cb
Overlay draw callback (in-game overlay P2)
2026-10-14 11:55:29 -07:00