aboutsummaryrefslogtreecommitdiff
path: root/client/src/util/syscalls.cpp
diff options
context:
space:
mode:
authorauth12 <[email protected]>2020-07-22 08:37:58 -0700
committerauth12 <[email protected]>2020-07-22 08:37:58 -0700
commit7caedef9a8c343b63cef6e971f4f87660520bb82 (patch)
tree66477c42a768bf5efb1177130347170c62f6cb60 /client/src/util/syscalls.cpp
parentAdded game selection. (diff)
downloadloader-7caedef9a8c343b63cef6e971f4f87660520bb82.tar.xz
loader-7caedef9a8c343b63cef6e971f4f87660520bb82.zip
Client injection.
Process class implementation.
Diffstat (limited to 'client/src/util/syscalls.cpp')
-rw-r--r--client/src/util/syscalls.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/util/syscalls.cpp b/client/src/util/syscalls.cpp
index 279a936..f1d9261 100644
--- a/client/src/util/syscalls.cpp
+++ b/client/src/util/syscalls.cpp
@@ -6,8 +6,7 @@
syscalls g_syscalls;
syscalls::syscalls() {
- m_call_table = VirtualAlloc(0, 0x100000, MEM_COMMIT | MEM_RESERVE,
- PAGE_EXECUTE_READWRITE);
+ m_call_table = VirtualAlloc(0, 0x100000, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
std::memset(m_call_table, 0x90, 0x100000);
}