Permalink
Browse files

Fix some Cheat Manager comparisons being wrong

  • Loading branch information...
RolandMunsil committed Sep 25, 2018
1 parent 8bb6cf2 commit 04969f94b69710f6ca88642d8c930947f2094eb0
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/Core/DolphinQt/CheatsManager.cpp
@@ -397,11 +397,11 @@ static bool Compare(T mem_value, T value, CompareType op)
case CompareType::Less:
return mem_value < value;
case CompareType::LessEqual:
return mem_value <= mem_value;
return mem_value <= value;
case CompareType::More:
return value > mem_value;
return mem_value > value;
case CompareType::MoreEqual:
return value >= mem_value;
return mem_value >= value;
default:
return false;
}

0 comments on commit 04969f9

Please sign in to comment.