Merge branch 'ImproveGameUI' of https://github.com/love-code-yeyixiao/Sandboxie into ImproveGameUI
This commit is contained in:
commit
114219e7eb
|
@ -39,6 +39,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
- You can also use "Sandman.exe /add_force program_path" to do it.
|
- You can also use "Sandman.exe /add_force program_path" to do it.
|
||||||
- added option "Improve3DGameRate" to enchance 3D games' FPS.
|
- added option "Improve3DGameRate" to enchance 3D games' FPS.
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Extend "Temp Template" to make it could delete local template section
|
- Extend "Temp Template" to make it could delete local template section
|
||||||
|
|
||||||
|
|
|
@ -215,6 +215,18 @@ _FX BOOLEAN Syscall_Init_List(void)
|
||||||
|
|
||||||
LIST disabled_hooks;
|
LIST disabled_hooks;
|
||||||
Syscall_LoadHookMap(L"DisableWinNtHook", &disabled_hooks);
|
Syscall_LoadHookMap(L"DisableWinNtHook", &disabled_hooks);
|
||||||
|
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);
|
||||||
|
pat = Pattern_Create(Driver_Pool, L"ReleaseSemaphore", FALSE, 0);
|
||||||
|
if (pat)
|
||||||
|
List_Insert_After(&disabled_hooks, NULL, pat);
|
||||||
|
pat = Pattern_Create(Driver_Pool, L"SetEvent", FALSE, 0);
|
||||||
|
if (pat)
|
||||||
|
List_Insert_After(&disabled_hooks, NULL, pat);
|
||||||
|
pat = Pattern_Create(Driver_Pool, L"ClearEvent", FALSE, 0);
|
||||||
|
}
|
||||||
|
|
||||||
LIST approved_syscalls;
|
LIST approved_syscalls;
|
||||||
Syscall_LoadHookMap(L"ApproveWinNtSysCall", &approved_syscalls);
|
Syscall_LoadHookMap(L"ApproveWinNtSysCall", &approved_syscalls);
|
||||||
|
|
Loading…
Reference in New Issue