From 797431dda479fcab8e87959959edea3bc0abcfcf Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 29 Jan 2016 11:30:32 +0000 Subject: [PATCH] MMIO: correct error message --- Source/Core/Core/HW/MMIO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/MMIO.cpp b/Source/Core/Core/HW/MMIO.cpp index 66a7f240f4..57d30ae2e0 100644 --- a/Source/Core/Core/HW/MMIO.cpp +++ b/Source/Core/Core/HW/MMIO.cpp @@ -197,7 +197,7 @@ template ReadHandlingMethod* InvalidRead() { return ComplexRead([](u32 addr) { - ERROR_LOG(MEMMAP, "Trying to read %zu bytes from an invalid MMIO (addr=%08x)", + ERROR_LOG(MEMMAP, "Trying to read %zu bits from an invalid MMIO (addr=%08x)", 8 * sizeof(T), addr); return -1; }); @@ -206,7 +206,7 @@ template WriteHandlingMethod* InvalidWrite() { return ComplexWrite([](u32 addr, T val) { - ERROR_LOG(MEMMAP, "Trying to write %zu bytes to an invalid MMIO (addr=%08x, val=%08x)", + ERROR_LOG(MEMMAP, "Trying to write %zu bits to an invalid MMIO (addr=%08x, val=%08x)", 8 * sizeof(T), addr, (u32)val); }); }