diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index 1d1e55448..52c299ed7 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -1023,6 +1023,9 @@ bool MemoryScan::Result::Filter(Operator op, u32 comp_value, bool is_signed) con return is_signed ? (static_cast(value) <= static_cast(last_value)) : (value <= last_value); } + case Operator::Any: + return true; + default: return false; } diff --git a/src/core/cheats.h b/src/core/cheats.h index 2164632c1..44caf54b7 100644 --- a/src/core/cheats.h +++ b/src/core/cheats.h @@ -148,7 +148,8 @@ public: GreaterThanLast, GreaterEqualLast, LessThanLast, - LessEqualLast + LessEqualLast, + Any }; struct Result diff --git a/src/duckstation-qt/cheatmanagerdialog.ui b/src/duckstation-qt/cheatmanagerdialog.ui index 586878780..5bbc57044 100644 --- a/src/duckstation-qt/cheatmanagerdialog.ui +++ b/src/duckstation-qt/cheatmanagerdialog.ui @@ -315,12 +315,12 @@ - Equal to Previous + Equal to Previous (Unchanged Value) - Not Equal to Previous + Not Equal to Previous (Changed Value) @@ -343,6 +343,11 @@ Less or Equal to Previous + + + Any Value + +