summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-07-08 18:13:52 +0200
committerJosJuice <josjuice@gmail.com>2024-07-09 09:55:07 +0200
commitf59678842b9614969be0813e54d25f6c35e0de63 (patch)
tree760c924cde95c0c8c696c63d6363a304738a7151 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
parent01a2cf8db9416b90eef3160a800f7b2560a3ae4a (diff)
RetroAchievements: Delay calling LoadApprovedList
0c14b0c8a70799072ddccb648006914af7c62855 made Dolphin load a file from the Sys folder the first time AchievementManager::GetInstance() is called. Because Android calls AchievementManager::GetInstance() from setBackgroundExecutionAllowedNative, this had two negative consequences on Android: 1. The first time setBackgroundExecutionAllowedNative gets called is often before directory initialization is done. Getting the path of the Sys folder before directory initialization is done causes a crash. 2. setBackgroundExecutionAllowedNative is called from the GUI thread, and we don't want file I/O on the GUI thread for performance reasons. This change makes us load the data from the Sys folder the first time the data is needed instead. This also saves us from having to load the data at all when hardcore mode is inactive.
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h')
0 files changed, 0 insertions, 0 deletions