Fix native api (#1761)
This commit is contained in:
parent
159c65d6b2
commit
793c2e5757
|
|
@ -73,7 +73,7 @@ namespace lspd {
|
||||||
return InstallNativeAPI({
|
return InstallNativeAPI({
|
||||||
.inline_hooker = [](auto t, auto r) {
|
.inline_hooker = [](auto t, auto r) {
|
||||||
void* bk = nullptr;
|
void* bk = nullptr;
|
||||||
return HookFunction(t, r, &bk) ? bk : nullptr;
|
return HookFunction(t, r, &bk) == RS_SUCCESS ? bk : nullptr;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}();
|
}();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue