mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 07:00:51 +00:00
Fix issue with calling module imports
This commit is contained in:
parent
11279668ca
commit
9c65a7b7f8
@ -175,7 +175,8 @@ void ResolveSyscall(const char *moduleName, u32 nib, u32 address)
|
||||
{
|
||||
INFO_LOG(HLE,"Resolving %s/%08x",moduleName,nib);
|
||||
// Note: doing that, we can't trace external module calls, so maybe something else should be done to debug more efficiently
|
||||
Memory::Write_U32(MIPS_MAKE_JAL(address), sysc->symAddr);
|
||||
// Note that this should be J not JAL, as otherwise control will return to the stub..
|
||||
Memory::Write_U32(MIPS_MAKE_J(address), sysc->symAddr);
|
||||
Memory::Write_U32(MIPS_MAKE_NOP(), sysc->symAddr + 4);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user