mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Just a quick fix for a typo made in last big rewrite of cheat engine.
This commit is contained in:
1 parent
1f60c85cb6
commit
402033030b
1 file changed
+4
-4
+4
-4
@@ -870,25 +870,25 @@ void CWCheatEngine::ExecuteOp(const CheatOperation &op, const CheatCode &cheat,
|
||||
break;
|
||||
|
||||
case CheatOp::IfAddrEqual:
|
||||
if (!TestIf(op, [](int a, int b) { return a == b; })) {
|
||||
if (!TestIfAddr(op, [](int a, int b) { return a == b; })) {
|
||||
i += (size_t)op.ifAddrTypes.skip;
|
||||
}
|
||||
break;
|
||||
|
||||
case CheatOp::IfAddrNotEqual:
|
||||
if (!TestIf(op, [](int a, int b) { return a != b; })) {
|
||||
if (!TestIfAddr(op, [](int a, int b) { return a != b; })) {
|
||||
i += (size_t)op.ifAddrTypes.skip;
|
||||
}
|
||||
break;
|
||||
|
||||
case CheatOp::IfAddrLess:
|
||||
if (!TestIf(op, [](int a, int b) { return a < b; })) {
|
||||
if (!TestIfAddr(op, [](int a, int b) { return a < b; })) {
|
||||
i += (size_t)op.ifAddrTypes.skip;
|
||||
}
|
||||
break;
|
||||
|
||||
case CheatOp::IfAddrGreater:
|
||||
if (!TestIf(op, [](int a, int b) { return a > b; })) {
|
||||
if (!TestIfAddr(op, [](int a, int b) { return a > b; })) {
|
||||
i += (size_t)op.ifAddrTypes.skip;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user