mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 23:55:45 -04:00
Cheats/MemoryScan: Add Any operator
This commit is contained in:
@ -1023,6 +1023,9 @@ bool MemoryScan::Result::Filter(Operator op, u32 comp_value, bool is_signed) con
|
||||
return is_signed ? (static_cast<s32>(value) <= static_cast<s32>(last_value)) : (value <= last_value);
|
||||
}
|
||||
|
||||
case Operator::Any:
|
||||
return true;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
@ -148,7 +148,8 @@ public:
|
||||
GreaterThanLast,
|
||||
GreaterEqualLast,
|
||||
LessThanLast,
|
||||
LessEqualLast
|
||||
LessEqualLast,
|
||||
Any
|
||||
};
|
||||
|
||||
struct Result
|
||||
|
Reference in New Issue
Block a user