Repository navigation
feat: sync exclusion - #8
Merged
Merged
Conversation
sfo_string() indexed from key_off instead of the fixed 20-byte header, so every lookup went out of bounds and titles never resolved past the id. Also strip embedded newlines some PSP save-icon titles carry.
Center using the loaded texture's real size instead of a hardcoded 144x80 PSP assumption; PS1 icons under Adrenaline are 80x80.
Per-entry and per-category (native/PSP/RetroArch) exclusion flags, plus a single is_effectively_excluded() predicate so callers don't each re-derive the category-or-individual check by hand. Also adds Config::update()/commit() to collapse the repeated global-mutate-save-update_global sequence into one call.
It's a generic scroll/selection cursor used well beyond the Cloud tab (game menu, save lists); belongs at the ui module root, not nested under one screen. Also adds jump_to() for page-step navigation, sharing do_scroll's top_row clamp via sync_top_row().
Excluded entries (individual or whole-category) drop out of the grid entirely instead of just losing a badge -- native titles via a new visible_native index filter, emulator entries via a rescan filter. The game menu gains an "Exclude from Sync" action; picking it closes the menu immediately (nothing left to do with a game that just vanished from the grid) and the grid re-filters in the same frame via a changed-flag GameList exposes, no waiting on the menu's close animation or a manual rescan. UITitles::invalidate() also flags a refresh for exclusion changes made elsewhere (Settings, reached through the Cloud tab).
Uses the shared is_effectively_excluded() predicate for local and emulator entries; cloud-only entries (no local EmulatorEntry to read a kind from) go through emulator_kind_from_entry_id() instead of re-deriving the id-prefix convention inline.
Full read/write console: every known game grouped under its platform's category toggle, checkbox per game or per category, foldable categories (auto-folds on exclude, unfolds on include), Left/Right to page through a large category.
This was referenced Aug 26, 2026
Owner
|
Code review done, and it builds. Waiting on testing on a real Vita before I merge. I will follow up here once that is done. |
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.
Motivation: Want to exclude specific games/categories from sync individually.