PPU LLVM: Fixup PPU Profiler for PRX

This commit is contained in:
Elad 2025-11-22 11:28:55 +02:00
parent e2da6d36ba
commit e11f8df064

View file

@ -595,7 +595,7 @@ void PPUTranslator::CallFunction(u64 target, Value* indirect)
if (g_cfg.core.ppu_prof)
{
m_ir->CreateStore(m_ir->getInt32(target_last), m_ir->CreateStructGEP(m_thread_type, m_thread, static_cast<uint>(&m_cia - m_locals)));
m_ir->CreateStore(GetAddr(target_last - m_addr), m_ir->CreateStructGEP(m_thread_type, m_thread, static_cast<uint>(&m_cia - m_locals)));
}
}
}