From 8f5b2f24cf71f1342176fa373928fe54e983c881 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 20 Jun 2021 13:40:10 +1000 Subject: [PATCH] Cheevos: Update rich presence in test mode (but don't ping) --- src/frontend-common/cheevos.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend-common/cheevos.cpp b/src/frontend-common/cheevos.cpp index d7322c0fc..214124702 100644 --- a/src/frontend-common/cheevos.cpp +++ b/src/frontend-common/cheevos.cpp @@ -304,11 +304,10 @@ void Update() if (HasActiveGame()) { rc_runtime_do_frame(&s_rcheevos_runtime, &CheevosEventHandler, &CheevosPeek, nullptr, nullptr); + UpdateRichPresence(); if (!s_test_mode) { - UpdateRichPresence(); - const s32 ping_frequency = s_rich_presence_enabled ? RICH_PRESENCE_PING_FREQUENCY : NO_RICH_PRESENCE_PING_FREQUENCY; if (static_cast(s_last_ping_time.GetTimeSeconds()) >= ping_frequency)