From 609165b62bfa5c712a54caee3c1e103e7c674c3a Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 22 Apr 2025 23:31:01 +0100 Subject: [PATCH] Fix building with USE_RETRO_ACHIEVEMENTS=OFF --- Source/Core/Core/AchievementManager.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/AchievementManager.h b/Source/Core/Core/AchievementManager.h index ea7a8bae5e..3c09a87d1b 100644 --- a/Source/Core/Core/AchievementManager.h +++ b/Source/Core/Core/AchievementManager.h @@ -307,6 +307,8 @@ private: #include +#include "Common/CommonTypes.h" + namespace ActionReplay { struct ARCode; @@ -333,12 +335,14 @@ public: constexpr bool IsHardcoreModeActive() { return false; } - constexpr bool CheckApprovedGeckoCode(const Gecko::GeckoCode& code, const std::string& game_id) + constexpr bool CheckApprovedGeckoCode(const Gecko::GeckoCode& code, const std::string& game_id, + u16 revision) { return true; }; - constexpr bool CheckApprovedARCode(const ActionReplay::ARCode& code, const std::string& game_id) + constexpr bool CheckApprovedARCode(const ActionReplay::ARCode& code, const std::string& game_id, + u16 revision) { return true; };