From 7d5c509c074c7b94d007dc4f85cbd4f35b7b739d Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 31 Oct 2014 13:19:52 +1100 Subject: [PATCH] Fixed the endianess of the 32bit MMIO reads. --- Source/Core/Core/HW/ProcessorInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/ProcessorInterface.cpp b/Source/Core/Core/HW/ProcessorInterface.cpp index 18cb3d2b25..aeca565870 100644 --- a/Source/Core/Core/HW/ProcessorInterface.cpp +++ b/Source/Core/Core/HW/ProcessorInterface.cpp @@ -146,11 +146,11 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) for (int i = 0; i < 0x1000; i += 4) { mmio->Register(base | i, - MMIO::ReadToLarger(mmio, base | i, 0), + MMIO::ReadToLarger(mmio, base | i, 16), MMIO::InvalidWrite() ); mmio->Register(base | (i + 2), - MMIO::ReadToLarger(mmio, base | i, 16), + MMIO::ReadToLarger(mmio, base | i, 0), MMIO::InvalidWrite() ); }