Merge pull request #13563 from Tilka/rcheevos

Fix building with USE_RETRO_ACHIEVEMENTS=OFF
This commit is contained in:
Tilka 2025-04-23 03:27:15 +01:00 committed by GitHub
commit c4f65febf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -307,6 +307,8 @@ private:
#include <string> #include <string>
#include "Common/CommonTypes.h"
namespace ActionReplay namespace ActionReplay
{ {
struct ARCode; struct ARCode;
@ -333,12 +335,14 @@ public:
constexpr bool IsHardcoreModeActive() { return false; } 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; 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; return true;
}; };