mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Merge pull request #5437 from sepalani/ppc-ibat
PPCAnalyst: Use the proper RAM check
This commit is contained in:
commit
8be41d3b7c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size)
|
||||||
for (u32 addr = startAddr; true; addr += 4)
|
for (u32 addr = startAddr; true; addr += 4)
|
||||||
{
|
{
|
||||||
func.size += 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;
|
return false;
|
||||||
|
|
||||||
if (max_size && func.size > max_size)
|
if (max_size && func.size > max_size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue