aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiko Asakura2021-02-17 10:25:10 -0500
committerReiko Asakura2021-02-17 10:25:10 -0500
commitbc53b5009c43fdaa92142d9d25ae92957388d1e3 (patch)
tree3b8ed0f6bba4ece01c189de36d0ee5f06ed04329
parentAllow taiHEN to start without config.txt available (diff)
downloadtaihen-bc53b5009c43fdaa92142d9d25ae92957388d1e3.tar.gz
Fix stub resolve check
-rw-r--r--taihen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/taihen.c b/taihen.c
index 7af27ee..650662a 100644
--- a/taihen.c
+++ b/taihen.c
@@ -133,7 +133,7 @@ SceUID taiHookFunctionImportForKernel(SceUID pid, tai_hook_ref_t *p_hook, const
return ret;
}
// FIXME: find a better way to do this
- if (stub[0] == 0xE24FC008 && stub[1] == 0xE12FFF1E) {
+ if (stub[0] == 0xE24FC008) {
LOG("stub for %p has not been resolved yet!", import_func_nid);
return TAI_ERROR_STUB_NOT_RESOLVED;
}