diff options
| author | auth12 <[email protected]> | 2020-07-21 13:07:42 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-21 13:07:42 -0700 |
| commit | f09669dd5846d95b063712571ccb7519910a0d6e (patch) | |
| tree | 902f5ad201651f2d96ccf619e90b76cfa06a7b9b /client/src/util/util.h | |
| parent | Syscalls. (diff) | |
| download | loader-f09669dd5846d95b063712571ccb7519910a0d6e.tar.xz loader-f09669dd5846d95b063712571ccb7519910a0d6e.zip | |
Added game selection.
Started process wrapper.
Removed asmjit.
Diffstat (limited to 'client/src/util/util.h')
| -rw-r--r-- | client/src/util/util.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/client/src/util/util.h b/client/src/util/util.h index b4bf699..8658ce6 100644 --- a/client/src/util/util.h +++ b/client/src/util/util.h @@ -5,22 +5,22 @@ namespace util { -extern std::unordered_map<std::string, pe::image> loaded_modules; + extern std::unordered_map<std::string, pe::image> loaded_modules; -std::string wide_to_multibyte(const std::wstring &str); + std::string wide_to_multibyte(const std::wstring& str); -native::_PEB *get_peb(); + native::_PEB* get_peb(); -bool init(); + bool init(); -static pe::image& ntdll() { - static pe::image nt{}; - if (!nt) { - nt = loaded_modules["ntdll.dll"]; - nt.parse_exports(); + static pe::image& ntdll() { + static pe::image nt{}; + if (!nt) { + nt = loaded_modules["ntdll.dll"]; + nt.parse_exports(); + } + return nt; } - return nt; -} }; // namespace util |