Debugger: Fix memory viewer, inverted check.

This commit is contained in:
Unknown W. Brackets committed 2023-03-28 22:52:01 -07:00
1 parent 35060cf4a0
commit a4d13d5f75
1 file changed
+1 -1
+1 -1
View File
@@ -901,7 +901,7 @@ void CtrlMemView::search(bool continueSearch) {
segmentEnd = memoryAreas[i].second;
// better safe than sorry, I guess
if (Memory::IsValidAddress(segmentStart))
if (!Memory::IsValidAddress(segmentStart))
continue;
const u8 *dataPointer = Memory::GetPointerUnchecked(segmentStart);