mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Add our own asmjit
Since the newest version of asmjit was bugged, I made my own branch and made a branch with the old commit that works.
This commit is contained in:
parent
0449f6e583
commit
e2988d6193
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -29,3 +29,7 @@
|
||||
[submodule "deps/discord-rpc"]
|
||||
path = deps/discord-rpc
|
||||
url = https://github.com/discord/discord-rpc.git
|
||||
[submodule "deps/asmjit"]
|
||||
path = deps/asmjit
|
||||
url = https://github.com/Joelrau/asmjit.git
|
||||
branch = old-state
|
||||
|
1
deps/asmjit
vendored
Submodule
1
deps/asmjit
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 9cb2b298e1cdcc82cd014302cc19891bdbe4dd2b
|
@ -87,12 +87,12 @@ namespace utils::hook
|
||||
|
||||
asmjit::Error assembler::call(void* target)
|
||||
{
|
||||
return Assembler::call(target);
|
||||
return Assembler::call(size_t(target));
|
||||
}
|
||||
|
||||
asmjit::Error assembler::jmp(void* target)
|
||||
{
|
||||
return Assembler::jmp(target);
|
||||
return Assembler::jmp(size_t(target));
|
||||
}
|
||||
|
||||
detour::detour(const size_t place, void* target) : detour(reinterpret_cast<void*>(place), target)
|
||||
|
Loading…
Reference in New Issue
Block a user