mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 16:25:45 +00:00
android: Ensure keys are loaded before populating games list
This commit is contained in:
parent
aadc63e1b5
commit
ecdbaecea2
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ class GamesViewModel : ViewModel() {
|
|||
val searchFocused: LiveData<Boolean> get() = _searchFocused
|
||||
|
||||
init {
|
||||
// Ensure keys are loaded so that ROM metadata can be decrypted.
|
||||
NativeLibrary.reloadKeys()
|
||||
|
||||
// Retrieve list of cached games
|
||||
val storedGames = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
|
||||
.getStringSet(GameHelper.KEY_GAMES, emptySet())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue