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

View File

@ -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;
};