mirror of https://github.com/RPCS3/rpcs3.git
Fix ppu_execute<Func> for HLE functions
This commit is contained in:
parent
5185ddb8b5
commit
953663e00b
|
@ -530,6 +530,9 @@ static auto ppu_load_exports(ppu_linkage_info* link, u32 exports_start, u32 expo
|
|||
const u32 _entry = vm::read32(faddr);
|
||||
const u32 target = ppu_function_manager::addr + 8 * _sf->index;
|
||||
|
||||
// Set exported function
|
||||
flink.export_addr = target;
|
||||
|
||||
if ((target <= _entry && _entry - target <= 0x2000000) || (target > _entry && target - _entry < 0x2000000))
|
||||
{
|
||||
// Use relative branch
|
||||
|
|
Loading…
Reference in New Issue