From af6cbf48f226fad7a57ad1c2cf2375388260d13e Mon Sep 17 00:00:00 2001 From: shygoo Date: Mon, 24 May 2021 21:41:22 -0500 Subject: [PATCH] [Debugger] Fix memory dump --- Source/Project64/UserInterface/Debugger/Debugger-MemoryDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/UserInterface/Debugger/Debugger-MemoryDump.cpp b/Source/Project64/UserInterface/Debugger/Debugger-MemoryDump.cpp index 291bc5791..843ef9d5c 100644 --- a/Source/Project64/UserInterface/Debugger/Debugger-MemoryDump.cpp +++ b/Source/Project64/UserInterface/Debugger/Debugger-MemoryDump.cpp @@ -180,7 +180,7 @@ bool CDumpMemory::DumpMemory(LPCTSTR FileName, DumpFormat Format, DWORD StartPC, } uint32_t dumpLen = EndPC - StartPC; - std::unique_ptr dumpBuf = std::make_unique(dumpLen); + std::unique_ptr dumpBuf = std::make_unique(dumpLen); uint32_t dumpIdx = 0; for (uint32_t pc = StartPC; pc < EndPC; pc++, dumpIdx++)