mirror of https://github.com/PCSX2/pcsx2.git
ade6a6c3ab
* Make memory search search type handling more clear with enum Adds an enum class to represent the Search type used in a memory search. Prior, this was just handled with an integer to represent each type, but it was very unclear what corresponded to which type at first glance. Made this easier to follow by using an enum to represent the type. * Debugger : Add support for greater than/less than/not equal search types Adds support for basic greater than/greater than or equal/less than/less than or equal/not equal search types for the debugger's Memory Scan. This adds a new input to allow selecting the search comparison type, which defaults to Equals, and allows switching to the above mentioned comparisons. It's set up to allow for adding more easily. Restructures some of the functions to make having multiple comparisons quite manageable. Adds an enum for search comparison types for easy logic handling. * Debugger: Update Array/String search type error to mention not handling Not Equals Currently array/string searches don't support Not Equals searches, so this needs to be removed. * Debugger: Code cleanup + feedback changes Sets up if expressions to use constexpr for compile time evaluation and makes the is greater/less than logic simpler to read for int. Also removes an unneeded QPushButton cast and simply compares the pointers directly. |
||
---|---|---|
.. | ||
Models | ||
BreakpointDialog.cpp | ||
BreakpointDialog.h | ||
BreakpointDialog.ui | ||
CpuWidget.cpp | ||
CpuWidget.h | ||
CpuWidget.ui | ||
DebuggerWindow.cpp | ||
DebuggerWindow.h | ||
DebuggerWindow.ui | ||
DisassemblyWidget.cpp | ||
DisassemblyWidget.h | ||
DisassemblyWidget.ui | ||
MemoryViewWidget.cpp | ||
MemoryViewWidget.h | ||
MemoryViewWidget.ui | ||
RegisterWidget.cpp | ||
RegisterWidget.h | ||
RegisterWidget.ui |