Play overlay: FPS, turbo, volume, save states (Retro-Runtime retro_overlay) - #15
Merged
Merged
Conversation
retro_overlay, the savestate envelope and link 1.1 (SaveState / LoadState). The hub keeps speaking to a 1.0 runner: it sends the new messages only when the session's minor has them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PlaySession feeds Retro-Runtime's retro_overlay and draws its layers (one nearest-filtered texture per layer, at place()); it draws none of its own. - F3 shows FPS, top left. Also "Show FPS" on the settings page and the pause menu. (F, the recomp-ui default, drives C-Left here.) - Tab (held) is turbo: grants back to back for 10 ms of each hub frame, sound dropped, >> TURBO top right. Drops on focus loss. - + / - set the volume in 10% steps (SDL stream gain), meter on the right. - F7 or SELECT+R1 opens the save-state browser, which pauses like the quick menu. Its requests go over link 1.1 between frames; slots live in <save_dir>/states/. A core without savestates, or a 1.0 runner, gets a toast. Buttons held when it closes stay out of the game until released. - The pause menu gains Save states, Show FPS and Volume. Show FPS and volume persist in <data_dir>/play.ini, for every core; the n64lle Settings page edits them in an "Overlay & audio" section, saved with the page. Checked: builds, 14/14 ctest; PlaySession driven offscreen with injected keys against the fake core and n64lle Pokemon Stadium, framebuffers read back. Not checked: a real screen, a real controller, sound by ear, the settings section as drawn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ged to main Retro-Runtime #3's merge commit; the tree is c69f744's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # third_party/Retro-Runtime
TechnicallyComputers
added a commit
that referenced
this pull request
Sep 27, 2026
…untime overlay) landed on main CMakeLists.txt: retro-hub gets both hub_title.cpp and retro_overlay. The Retro-Runtime pin is main's d5146fa. build-local + ctest 15/15; the Pokemon Stadium title app rebuilt on it (dev runner d5146fa), every kit gate passed, and it ran from a clean directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on RetroPortingToolKit/Retro-Runtime#3; the submodule is pinned to its head (
c69f744). Based onfeat/direct-home, because it adds to that branch's n64lle Settings page.What
PlaySessionfeeds Retro-Runtime'sretro_overlayand draws its layers. The hub draws no overlay of its own, so every core gets the same presentation.>> TURBOtop right, sound dropped+/-(main row or keypad)<save_dir>/states/.<data_dir>/play.inifor every core. The n64lle Settings page edits them in an "Overlay & audio" section, saved with the page.Checked
ctest14/14.PlaySessiondriven offscreen with injected key events, with the framebuffer read back at each step:Not checked
A real screen, a real controller (the SELECT+R1 chord, stick repeat), volume by ear, and the settings section as drawn. Those verdicts are Alex's.
🤖 Generated with Claude Code