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:
parent
ad6a72e369
commit
06f733a7f2
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user