A couple of warning fixes (real issues though small)

This commit is contained in:
Henrik Rydgård committed 2023-12-05 01:12:42 +01:00
1 parent 256d670ae5
commit 6b8ec972fb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -400,7 +400,7 @@ namespace SaveState
void Enqueue(SaveState::Operation op)
{
if (Achievements::HardcoreModeActive()) {
if (g_Config.bAchievementsSaveStateInHardcoreMode && (op.type == SaveState::SAVESTATE_SAVE) || (op.type == SAVESTATE_SAVE_SCREENSHOT)) {
if (g_Config.bAchievementsSaveStateInHardcoreMode && ((op.type == SaveState::SAVESTATE_SAVE) || (op.type == SAVESTATE_SAVE_SCREENSHOT))) {
// We allow saving in hardcore mode if this setting is on.
} else {
// Operation not allowed