mirror of
https://github.com/wiiu-env/EnvironmentLoader.git
synced 2024-11-27 08:14:14 +01:00
Fix compiling with debug flag
This commit is contained in:
parent
b5f62f552d
commit
5536bc79ee
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user