mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-04 14:37:17 +00:00
Might as well allow imports to blacklisted.
If someone's trying to read their code.
This commit is contained in:
parent
8ef00232d3
commit
c1fdb5fc5b
@ -282,9 +282,6 @@ public:
|
|||||||
void Cleanup();
|
void Cleanup();
|
||||||
|
|
||||||
void ImportFunc(const FuncSymbolImport &func) {
|
void ImportFunc(const FuncSymbolImport &func) {
|
||||||
if (isFake) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!Memory::IsValidAddress(func.stubAddr)) {
|
if (!Memory::IsValidAddress(func.stubAddr)) {
|
||||||
WARN_LOG_REPORT(LOADER, "Invalid address for syscall stub %s %08x", func.moduleName, func.nid);
|
WARN_LOG_REPORT(LOADER, "Invalid address for syscall stub %s %08x", func.moduleName, func.nid);
|
||||||
return;
|
return;
|
||||||
@ -304,9 +301,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ImportVar(const VarSymbolImport &var) {
|
void ImportVar(const VarSymbolImport &var) {
|
||||||
if (isFake) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// Keep track and actually hook it up if possible.
|
// Keep track and actually hook it up if possible.
|
||||||
importedVars.push_back(var);
|
importedVars.push_back(var);
|
||||||
impExpModuleNames.insert(var.moduleName);
|
impExpModuleNames.insert(var.moduleName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user