-
-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Original profiler was not working and caused game to crash when jit parameter is disabled. | ||
-- For safety reasons there is mock setup function and empty module without original code. | ||
-- | ||
-- 1) LUA does not allow setting up multiple hooks, adding hooks here instead of C++ codebase is problematic | ||
-- 2) Luabind/Luajit already injects complex logics, C++ codebase adds error callbacks and custom logics. | ||
-- As result, stack and state may be corrupted and cause random logics/memory errors. | ||
-- | ||
-- See: https://github.com/OpenXRay/xray-16/issues/1436 | ||
|
||
-- Mock placeholder. | ||
function setup_hook() end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters