mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-27 11:00:50 +00:00
Debugger: Fixed binary OR and binary XOR in expressions (their behavior was inverted)
This commit is contained in:
parent
3fdc000a3d
commit
bd066dd7b9
@ -359,8 +359,8 @@ int32_t ExpressionEvaluator::Evaluate(vector<int> &rpnList, DebugState &state, E
|
||||
case EvalOperators::Equal: token = left == right; resultType = EvalResultType::Boolean; break;
|
||||
case EvalOperators::NotEqual: token = left != right; resultType = EvalResultType::Boolean; break;
|
||||
case EvalOperators::BinaryAnd: token = left & right; break;
|
||||
case EvalOperators::BinaryXor: token = left | right; break;
|
||||
case EvalOperators::BinaryOr: token = left ^ right; break;
|
||||
case EvalOperators::BinaryXor: token = left ^ right; break;
|
||||
case EvalOperators::BinaryOr: token = left | right; break;
|
||||
case EvalOperators::LogicalAnd: token = left && right; resultType = EvalResultType::Boolean; break;
|
||||
case EvalOperators::LogicalOr: token = left || right; resultType = EvalResultType::Boolean; break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user