Fix compiling with debug flag

This commit is contained in:
Maschell 2024-04-21 18:20:11 +02:00
parent b5f62f552d
commit 5536bc79ee
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ std::optional<HeapWrapper> 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");