mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
Fix some Cheat Manager comparisons being wrong
This commit is contained in:
parent
8bb6cf2cc4
commit
04969f94b6
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user