mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
PPU LLVM: Fixup PPU Profiler for PRX
This commit is contained in:
parent
e2da6d36ba
commit
e11f8df064
|
|
@ -595,7 +595,7 @@ void PPUTranslator::CallFunction(u64 target, Value* indirect)
|
||||||
|
|
||||||
if (g_cfg.core.ppu_prof)
|
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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue