Achievements: Fix a few minor issues

This commit is contained in:
Connor McLaughlin
2022-10-08 20:59:18 +10:00
parent 8d53eb5df8
commit 42768c3101
6 changed files with 35 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ extern bool DoState(StateWrapper& sw);
extern void GameChanged(const std::string& path, CDImage* image);
/// Re-enables hardcode mode if it is enabled in the settings.
extern void ResetChallengeMode();
extern bool ResetChallengeMode();
/// Forces hardcore mode off until next reset.
extern void DisableChallengeMode();
@@ -43,7 +43,10 @@ static constexpr inline bool ChallengeModeActive()
return false;
}
static inline void ResetChallengeMode() {}
static inline bool ResetChallengeMode()
{
return false;
}
static inline void DisableChallengeMode() {}