Game browser search: also match the filename, minus extension

Works before the game's metadata has loaded.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-09-28 11:50:28 -06:00
1 parent 547d032995
commit ce3d8d37c5
3 files changed
+17

No files matched your search

+2
View File
@@ -396,6 +396,8 @@ public:
virtual std::string DescribeLog() const;
// Accessible/searchable description.
virtual std::string DescribeText() const { return ""; }
// Extra text that search also matches against, available even before DescribeText is (like a filename).
virtual std::string SearchAlias() const { return ""; }
virtual void FocusChanged(FocusFlags focusFlags) {}
virtual void PersistData(PersistStatus status, std::string anonId, PersistMap &storage);