Fix building with USE_RETRO_ACHIEVEMENTS=OFF

This commit is contained in:
Tillmann Karras 2025-04-22 23:31:01 +01:00
parent ac76deaef0
commit 609165b62b

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