dolphin/Source/Core
JosJuice f59678842b RetroAchievements: Delay calling LoadApprovedList
0c14b0c8a7 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.
2024-07-09 09:55:07 +02:00
..
AudioCommon AudioCommon: unlock mutex explicitly to avoid -Wunused-result warning 2024-06-20 02:25:15 +01:00
Common Implement File::GetExePath() for FreeBSD 2024-07-07 21:09:50 +02:00
Core RetroAchievements: Delay calling LoadApprovedList 2024-07-09 09:55:07 +02:00
DiscIO Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't defined 2024-06-06 08:26:20 +02:00
DolphinNoGUI TAS Input: Enable hotkeys and controller input when Input has focus 2024-05-31 15:14:44 -07:00
DolphinQt Add Open Achievements Hotkey 2024-07-06 07:36:31 -04:00
DolphinTool Merge pull request #12815 from Dentomologist/enable_hotkeys_and_controllers_for_focused_tas_input 2024-06-15 15:25:40 +02:00
InputCommon Merge pull request #12850 from jordan-woyak/device-sorting 2024-06-15 21:12:08 +02:00
MacUpdater ScmRevGen: Generate Info.plist for MacUpdater 2024-04-21 13:28:21 -04:00
UICommon AchievementManager: Cache Badges on Disk 2024-07-04 22:12:28 +02:00
UpdaterCommon CMake: Use targets for all optionally-external dependencies 2023-06-15 01:41:41 -05:00
VideoBackends Properly link against xxhash 2024-07-06 16:56:44 -05:00
VideoCommon Properly link against xxhash 2024-07-06 16:56:44 -05:00
WinUpdater StringUtil: Move CommandLineToUtf8Argv() into Common namespace 2023-05-16 14:23:21 -04:00
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Merge pull request #12798 from mitaclaw/branch-watch-tool-fixes-2 2024-06-15 16:57:05 +02:00
DolphinLib.vcxproj Externals: Convert minizip-ng To Submodule 2024-05-03 12:43:33 -07:00
DolphinLib.vcxproj.user
DolphinLib.x64.props