From aa65ca4b6ba10f69257ef201498c3f34b7a5f634 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Wed, 17 May 2017 02:10:26 +0100 Subject: [PATCH] PPCAnalyst: Use the proper RAM check --- Source/Core/Core/PowerPC/PPCAnalyst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index 90288cdbd9..1b789e48ad 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -97,7 +97,7 @@ bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size) for (u32 addr = startAddr; true; addr += 4) { func.size += 4; - if (func.size >= CODEBUFFER_SIZE * 4 || !PowerPC::HostIsRAMAddress(addr)) // weird + if (func.size >= CODEBUFFER_SIZE * 4 || !PowerPC::HostIsInstructionRAMAddress(addr)) // weird return false; if (max_size && func.size > max_size)