Skip to content

Instantly share code, notes, and snippets.

@Subv
Created September 23, 2017 14:28
Show Gist options
  • Save Subv/a3da5394b8476dbd6387ed9935973a22 to your computer and use it in GitHub Desktop.
Save Subv/a3da5394b8476dbd6387ed9935973a22 to your computer and use it in GitHub Desktop.
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp
index a7b6614..25e50a6 100644
--- a/src/core/hle/kernel/shared_memory.cpp
+++ b/src/core/hle/kernel/shared_memory.cpp
@@ -158,8 +158,8 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi
if (result.Failed()) {
LOG_ERROR(
Kernel,
- "cannot map id=%u, target_address=0x%08X name=%s, error mapping to virtual memory",
- GetObjectId(), target_address, name.c_str());
+ "cannot map id=%u, target_address=0x%08X name=%s, error mapping to virtual memory %u",
+ GetObjectId(), target_address, name.c_str(), result.Code().raw);
return result.Code();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment