Skip to content

Add WatermelonDS smart cache support - #87

Open
misantronic wants to merge 1 commit into
mainfrom
feature/watermelonds-smart-cache
Open

Add WatermelonDS smart cache support#87
misantronic wants to merge 1 commit into
mainfrom
feature/watermelonds-smart-cache

Conversation

@misantronic

Copy link
Copy Markdown
Owner

Adds a WatermelonDsSmartCacheStrategy that queries WatermelonDS's RomLibraryContentProvider for recently played games (name, SAF URI, lastPlayed, RetroAchievements hash) and feeds them into smart cache, bypassing our own hashing entirely since WatermelonDS already computes and exposes the RA hash.

Depends on WatermelonDS exposing that provider: SapphireRhodonite/WatermelonDS#168. Inert on real devices until that ships upstream.

Verified end-to-end against a side-by-side .dev build of the patched fork: scanned/played games are correctly discovered, resolved via the precomputed hash, matched to the right RA gameId, and cached.

Tracked in #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Android enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant