Debugger: Update search results when we are _not_ going to remove them

This commit is contained in:
Ty Lamontagne authored and Ty committed 2025-06-08 15:44:56 -04:00
1 parent 695c39fba2
commit f6e899b570
1 file changed
+1 -1
@@ -311,7 +311,7 @@ void searchWorker(DebugInterface* cpu, std::vector<SearchResult>& searchResults,
const auto readValue = readValueAtAddress<T>(cpu, addr);
const bool doesMatch = handleSearchComparison(searchComparison, addr, &searchResult, searchValue, readValue);
if (!doesMatch)
if (doesMatch)
searchResult = MemorySearchView::SearchResult(addr, QVariant::fromValue(readValue), searchType);
return !doesMatch;