From 0dee9bc4f0f12c7d29737bb3cfd612f9144d677f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 21 Jan 2017 21:16:41 -0500 Subject: [PATCH] MMU: Change '0' literals to 'false' in IsOptimizableGatherPipeWrite --- Source/Core/Core/PowerPC/MMU.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index 055e8339ed..6f4e83e359 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -771,16 +771,16 @@ u32 IsOptimizableMMIOAccess(u32 address, u32 accessSize) bool IsOptimizableGatherPipeWrite(u32 address) { if (PowerPC::memchecks.HasAny()) - return 0; + return false; if (!UReg_MSR(MSR).DR) - return 0; + return false; // Translate address, only check BAT mapping. // If we also optimize for TLB mappings, we'd have to clear the // JitCache on each TLB invalidation. if (!TranslateBatAddess(dbat_table, &address)) - return 0; + return false; // Check whether the translated address equals the address in WPAR. return address == 0x0C008000;