Skip to content

Commit

Permalink
A couple of warning fixes (real issues though small)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 5, 2023
1 parent 256d670 commit 6b8ec97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/SaveState.cpp
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion GPU/Common/FramebufferManagerCommon.cpp
Expand Up @@ -2030,7 +2030,7 @@ bool FramebufferManagerCommon::NotifyFramebufferCopy(u32 src, u32 dst, int size,
for (size_t i = 0; i < srcCandidates.size(); i++) {
log += " - " + srcCandidates[i].ToString(channel) + "\n";
}
WARN_LOG(G3D, "Copy: Multiple src vfb candidates for (src: %08x, size: %d, %s):\n%s (%s)", src, size, log.c_str(), RasterChannelToString(channel));
WARN_LOG(G3D, "Copy: Multiple src vfb candidates for (src: %08x, size: %d):\n%s (%s)", src, size, log.c_str(), RasterChannelToString(channel));
}
}

Expand Down

0 comments on commit 6b8ec97

Please sign in to comment.