1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Fixup No.2 for #10779

This commit is contained in:
Nekotekina 2021-09-01 16:56:38 +03:00
parent ad6a72e369
commit 06f733a7f2
2 changed files with 2 additions and 6 deletions

View File

@ -539,6 +539,8 @@ bool ppu_form_branch_to_code(u32 entry, u32 target)
void ppu_remove_hle_instructions(u32 addr, u32 size)
{
g_fxo->init<ppu_far_jumps_t>();
auto& jumps = g_fxo->get<ppu_far_jumps_t>();
std::lock_guard lock(jumps.mutex);

View File

@ -362,12 +362,6 @@ void PPUTranslator::CallFunction(u64 target, Value* indirect)
if (_target >= caddr && _target <= cend)
{
if (target == m_addr + 4)
{
// Branch to nex (ignored)
return;
}
callee = m_module->getOrInsertFunction(fmt::format("__0x%x", target), type);
cast<Function>(callee.getCallee())->setCallingConv(CallingConv::GHC);
}