From 5536bc79eeb57c01699493b5bf4c7092f56261c5 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 21 Apr 2024 18:20:11 +0200 Subject: [PATCH] Fix compiling with debug flag --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index ea9616f..edb78fa 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -279,7 +279,7 @@ std::optional GetHeapForModule(uint32_t heapSize) { return {}; } - DEBUG_FUNCTION_LINE("Let's create a memory wrapper for 0x%08X, size: %d", ptr, size); + DEBUG_FUNCTION_LINE("Let's create a memory wrapper for 0x%08X, size: %d", startAddress, size); auto res = HeapWrapper(MemoryWrapper((void *) startAddress, size, /* we don't need to free this memory*/ nullptr)); if ((uint32_t) res.GetHeapHandle() != startAddress) { OSFatal("EnvironmentLoader: Unexpected address");