From 55099ed74d9813d0753d1b823bafeb34a50ce8f8 Mon Sep 17 00:00:00 2001 From: Felk Date: Thu, 21 Oct 2021 20:46:04 +0200 Subject: [PATCH] fix compile issues after merge in MMU.cpp --- Source/Core/Core/PowerPC/MMU.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index dc19c9906daf..e7bf661a02c0 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -401,8 +401,8 @@ static void WriteToHardware(u32 em_address, const u32 data, const u32 size) for (u32 addr = em_address & ~0x7; addr < em_address + size; addr += 8) { - WriteToHardware(addr, rotated_data, 4); - WriteToHardware(addr + 4, rotated_data, 4); + WriteToHardware(addr, rotated_data, 4); + WriteToHardware(addr + 4, rotated_data, 4); } return; @@ -504,7 +504,7 @@ std::optional> HostTryReadInstruction(const u32 address, } case RequestedAddressSpace::Physical: { - const u32 value = ReadFromHardware(address); + const u32 value = ReadFromHardware(address); return ReadResult(false, value); } case RequestedAddressSpace::Virtual: @@ -610,7 +610,7 @@ static std::optional> HostTryReadUX(const u32 address, RequestedAd } case RequestedAddressSpace::Physical: { - T value = ReadFromHardware(address); + T value = ReadFromHardware(address); return ReadResult(false, std::move(value)); } case RequestedAddressSpace::Virtual: