mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
SPU Analyzer: forgive invalid code, use interpreter
This commit is contained in:
parent
f943deb2c3
commit
36ab866c2c
1 changed files with 7 additions and 0 deletions
|
@ -3569,6 +3569,13 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
|
|||
}
|
||||
}
|
||||
|
||||
if (!m_bbs.count(entry_point))
|
||||
{
|
||||
// Invalid code
|
||||
spu_log.error("[0x%x] Invalid code", entry_point);
|
||||
return {};
|
||||
}
|
||||
|
||||
// Fill entry map
|
||||
while (true)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue