diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-19 03:29:23 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-19 03:29:23 +0200 |
commit | 97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e (patch) | |
tree | 329b0e19c52e06bf113457cb68802094677f5871 | |
parent | ipc_helpers: Fix alignment (was wrong as a result of a dynarmic bug). (diff) | |
download | yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar.gz yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar.bz2 yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar.lz yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar.xz yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.tar.zst yuzu-97d52b9f89c2e0b9035b8c8f6f8a8a13f0364f2e.zip |
-rw-r--r-- | src/core/memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 462d68386..9a5661a99 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -152,7 +152,7 @@ T Read(const VAddr vaddr) { PageType type = current_page_table->attributes[vaddr >> PAGE_BITS]; switch (type) { case PageType::Unmapped: - LOG_ERROR(HW_Memory, "unmapped Read%lu @ 0x%08X", sizeof(T) * 8, vaddr); + LOG_ERROR(HW_Memory, "unmapped Read%lu @ 0x%llx", sizeof(T) * 8, vaddr); return 0; case PageType::Memory: ASSERT_MSG(false, "Mapped memory page without a pointer @ %08X", vaddr); @@ -492,7 +492,7 @@ void ReadBlock(const Kernel::Process& process, const VAddr src_addr, void* dest_ switch (page_table.attributes[page_index]) { case PageType::Unmapped: { - LOG_ERROR(HW_Memory, "unmapped ReadBlock @ 0x%08X (start address = 0x%08X, size = %zu)", + LOG_ERROR(HW_Memory, "unmapped ReadBlock @ 0x%08X (start address = 0xllx, size = %zu)", current_vaddr, src_addr, size); std::memset(dest_buffer, 0, copy_amount); break; |