Debugger: Avoid write tag lookup on small alloc.

This commit is contained in:
Unknown W. Brackets committed 2022-02-06 09:28:48 -08:00
1 parent 2e2b222983
commit 80e054b797
9 files changed
+111 -63

No files matched your search

+1 -1
View File
@@ -390,7 +390,7 @@ void NotifyMemInfoPC(MemBlockFlags flags, uint32_t start, uint32_t size, uint32_
bool needFlush = false;
// When the setting is off, we skip smaller info to keep things fast.
if (size >= 0x100 || MemBlockInfoDetailed()) {
if (MemBlockInfoDetailed(size)) {
PendingNotifyMem info{ flags, start, size };
info.ticks = CoreTiming::GetTicks();
info.pc = pc;