Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
love-code-yeyixiao committed Jul 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ac871ba commit 8ad7bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sandboxie/core/drv/syscall.c
Original file line number Diff line number Diff line change
@@ -215,7 +215,7 @@ _FX BOOLEAN Syscall_Init_List(void)

LIST disabled_hooks;
Syscall_LoadHookMap(L"DisableWinNtHook", &disabled_hooks);
if (Conf_Get_Boolean(Driver_Pool, L"Improve3DGameRate", 0, FALSE)) {
if (Conf_Get_Boolean(NULL, L"Improve3DGameRate", 0, FALSE)) {
PATTERN* pat = Pattern_Create(Driver_Pool, L"WaitForSingleObject", FALSE, 0);
if (pat)
List_Insert_After(&disabled_hooks, NULL, pat);

0 comments on commit 8ad7bf5

Please sign in to comment.