SPU Analyzer: Acknowledge unknown targets

This commit is contained in:
Elad 2026-03-30 20:30:35 +03:00 committed by Ani
parent 615f416af3
commit 80f972cd38

View File

@ -2957,7 +2957,7 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
if (g_cfg.core.spu_block_size == spu_block_size_type::safe) if (g_cfg.core.spu_block_size == spu_block_size_type::safe)
{ {
// Stop on special instructions (TODO) // Stop on special instructions (TODO)
m_targets[pos]; m_targets[pos].push_back(SPU_LS_SIZE);
next_block(); next_block();
break; break;
} }
@ -2978,7 +2978,7 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
spu_log.error("[0x%x] Invalid interrupt flags (DE)", pos); spu_log.error("[0x%x] Invalid interrupt flags (DE)", pos);
} }
m_targets[pos]; m_targets[pos].push_back(SPU_LS_SIZE);
next_block(); next_block();
break; break;
} }
@ -3278,7 +3278,7 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
{ {
if (type == spu_itype::BI || g_cfg.core.spu_block_size == spu_block_size_type::safe || is_no_return) if (type == spu_itype::BI || g_cfg.core.spu_block_size == spu_block_size_type::safe || is_no_return)
{ {
m_targets[pos]; m_targets[pos].push_back(SPU_LS_SIZE);
} }
else else
{ {
@ -3291,6 +3291,7 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
else else
{ {
m_targets[pos].push_back(pos + 4); m_targets[pos].push_back(pos + 4);
m_targets[pos].push_back(SPU_LS_SIZE);
add_block(pos + 4); add_block(pos + 4);
} }