Merge pull request #17206 from unknownbrackets/debugger

Debugger: Fix memory viewer, inverted check
This commit is contained in:
Henrik Rydgård 2023-03-29 08:07:39 +02:00 committed by GitHub
commit 3c9e968ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -912,7 +912,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);