From 9cfc671c69cd816d2123ba7c47ef1bf42cbf2ba5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 17 Apr 2017 19:13:47 -0400 Subject: [PATCH] MMU: Get rid of unnecessary temporaries in HostRead_[8|16|32] functions --- Source/Core/Core/PowerPC/MMU.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index 557ae8746a..14c97a0f79 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -551,20 +551,17 @@ void Write_F64(const double var, const u32 address) u8 HostRead_U8(const u32 address) { - u8 var = ReadFromHardware(address); - return var; + return ReadFromHardware(address); } u16 HostRead_U16(const u32 address) { - u16 var = ReadFromHardware(address); - return var; + return ReadFromHardware(address); } u32 HostRead_U32(const u32 address) { - u32 var = ReadFromHardware(address); - return var; + return ReadFromHardware(address); } u64 HostRead_U64(const u32 address)