summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2025-04-23 03:27:15 +0100
committerGitHub <noreply@github.com>2025-04-23 03:27:15 +0100
commitc4f65febf3c1845da4b15ecfedf11e9735b13aa7 (patch)
tree46efe2d451839e66ffda82956d0eb9b739ff9473 /Source/Core
parent871073eee2fd154db09c64dd69719b572a9cf052 (diff)
parent609165b62bfa5c712a54caee3c1e103e7c674c3a (diff)
Merge pull request #13563 from Tilka/rcheevos
Fix building with USE_RETRO_ACHIEVEMENTS=OFF
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/AchievementManager.h8
1 files 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 <string>
+#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;
};