mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Merge pull request #12849 from LillyJadeKatrin/retroachievements-change-disc-bug
Release Achievement Manager Loaded Volume
This commit is contained in:
commit
b0f8520a3d
@ -649,6 +649,7 @@ void AchievementManager::LeaderboardEntriesCallback(int result, const char* erro
|
|||||||
void AchievementManager::LoadGameCallback(int result, const char* error_message,
|
void AchievementManager::LoadGameCallback(int result, const char* error_message,
|
||||||
rc_client_t* client, void* userdata)
|
rc_client_t* client, void* userdata)
|
||||||
{
|
{
|
||||||
|
AchievementManager::GetInstance().m_loading_volume.reset(nullptr);
|
||||||
if (result != RC_OK)
|
if (result != RC_OK)
|
||||||
{
|
{
|
||||||
WARN_LOG_FMT(ACHIEVEMENTS, "Failed to load data for current game.");
|
WARN_LOG_FMT(ACHIEVEMENTS, "Failed to load data for current game.");
|
||||||
@ -679,6 +680,7 @@ void AchievementManager::LoadGameCallback(int result, const char* error_message,
|
|||||||
void AchievementManager::ChangeMediaCallback(int result, const char* error_message,
|
void AchievementManager::ChangeMediaCallback(int result, const char* error_message,
|
||||||
rc_client_t* client, void* userdata)
|
rc_client_t* client, void* userdata)
|
||||||
{
|
{
|
||||||
|
AchievementManager::GetInstance().m_loading_volume.reset(nullptr);
|
||||||
if (result == RC_OK)
|
if (result == RC_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user