Skip to content
Permalink
Browse files

Merge pull request #5437 from sepalani/ppc-ibat

PPCAnalyst: Use the proper RAM check
  • Loading branch information
Tilka committed May 17, 2017
2 parents 392936a + aa65ca4 commit 8be41d3b7c9c33f7f5d59d5cce9e11335ee8559d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 8be41d3

Please sign in to comment.
You can’t perform that action at this time.