From 673f886a7ef101eb2a619df8a6ffeb82f5e4aa6e Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 4 Sep 2021 10:49:13 -0700 Subject: [PATCH] MMU: Replace uses of cassert with Common/Assert.h --- Source/Core/Core/PowerPC/MMU.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index a567c60047..f97f916f2f 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -3,7 +3,6 @@ #include "Core/PowerPC/MMU.h" -#include #include #include #include @@ -495,7 +494,7 @@ TryReadResult HostTryReadInstruction(const u32 address, RequestedAddressSpa } } - assert(0); + ASSERT(0); return TryReadResult(); } @@ -601,7 +600,7 @@ static TryReadResult HostTryReadUX(const u32 address, RequestedAddressSpace s } } - assert(0); + ASSERT(0); return TryReadResult(); } @@ -785,7 +784,7 @@ static TryWriteResult HostTryWriteUX(const u32 var, const u32 address, const u32 return TryWriteResult(true); } - assert(0); + ASSERT(0); return TryWriteResult(); } @@ -925,7 +924,7 @@ bool HostIsRAMAddress(u32 address, RequestedAddressSpace space) return IsRAMAddress(address, true); } - assert(0); + ASSERT(0); return false; } @@ -947,7 +946,7 @@ bool HostIsInstructionRAMAddress(u32 address, RequestedAddressSpace space) return IsRAMAddress(address, true); } - assert(0); + ASSERT(0); return false; }