diff options
| author | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2025-05-30 20:47:29 -0400 |
|---|---|---|
| committer | LillyJadeKatrin <lilly.kitty.1988@gmail.com> | 2025-06-07 07:02:24 -0400 |
| commit | c68549e9efcaebd5979bd254d9f746c5c3b68904 (patch) | |
| tree | f8e468b7ef379d56f3f321b7ff96b5e6b52c7179 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | fd285f63485bf3cc2fc88f7ea12710863eece9ab (diff) | |
AchievementManager - Load unknown games
Prior to this change, any game unrecognized by RetroAchievements would ultimately result in the game being "Closed" by AchievementManager. As a result, if any game was run while in this state without any other closing being done, AchievementManager would simply load it like a new game, despite memory already being accessed.
However, testing and documentation determined that the rcheevos client doesn't actually complain when it fails to hash a game; it just runs this as "Unidentified Game" with RA ID = 0. As such, this change utilizes that in AchievementManager to differentiate between no software running and unidentified software running.
As a result of this, now LoadGame needs to be called for every piece of runnable software, supported format or otherwise. If a supported format is not available, LoadGame can now be called with a nullptr to ensure that rcheevos still properly sets up an unidentified game.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
