mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-07-10 01:34:42 -06:00
Do not auto-stub unresolved objects (#4562)
* Patch unresolved object stubs with unresolve indicator * Don't autostub unresolved objects in the first place
This commit is contained in:
parent
d54e6b07f5
commit
d9f68b53c9
@ -371,7 +371,10 @@ bool Linker::Resolve(const std::string& name, Loader::SymbolType sym_type, Modul
|
||||
}
|
||||
|
||||
const auto aeronid = AeroLib::FindByNid(sr.name.c_str());
|
||||
if (aeronid) {
|
||||
if (sym_type == Loader::SymbolType::Object) {
|
||||
return_info->name = aeronid ? aeronid->name : "Unknown object";
|
||||
return_info->virtual_address = 0;
|
||||
} else if (aeronid) {
|
||||
return_info->name = aeronid->name;
|
||||
return_info->virtual_address = AeroLib::GetStub(aeronid->nid);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user