mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-26 03:35:27 +00:00
use module_start_func instead of entry_addr if entry_addr is 0
, this fixes Dissidia Final Fantasy 012. Maybe this is not a good fix.
This commit is contained in:
parent
2211711164
commit
f27cc58f4b
@ -559,6 +559,10 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
}
|
||||
|
||||
module->nm.entry_addr = reader.GetEntryPoint();
|
||||
|
||||
// use module_start_func instead of entry_addr if entry_addr is 0
|
||||
if (module->nm.entry_addr == 0)
|
||||
module->nm.entry_addr = module->nm.module_start_func;
|
||||
|
||||
if (newptr)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user