diff --git a/Core/Debugger/MemBlockInfo.cpp b/Core/Debugger/MemBlockInfo.cpp index ac2b35a4dd..c2145a5275 100644 --- a/Core/Debugger/MemBlockInfo.cpp +++ b/Core/Debugger/MemBlockInfo.cpp @@ -461,7 +461,8 @@ std::vector FindMemInfoByFlag(MemBlockFlags flags, uint32_t start, std::string GetMemWriteTagAt(uint32_t start, uint32_t size) { std::vector memRangeInfo = FindMemInfoByFlag(MemBlockFlags::WRITE, start, size); for (auto range : memRangeInfo) { - return range.tag; + if (range.tag != "MemInit") + return range.tag; } // Fall back to alloc and texture, especially for VRAM. We prefer write above. @@ -469,7 +470,7 @@ std::string GetMemWriteTagAt(uint32_t start, uint32_t size) { for (auto range : memRangeInfo) { return range.tag; } - return "none"; + return StringFromFormat("%08x_size_%08x", start, size); } void MemBlockInfoInit() {