[saco] Match InstallFileSystemHooks()

This commit is contained in:
RD42 2024-04-13 22:29:25 +08:00
parent 84aacf4165
commit 6186f0c488

View File

@ -127,9 +127,10 @@ void InstallFileSystemHooks()
(PBYTE)DetourFindFunction("kernel32.dll", "CreateFileA"),
(PBYTE)Arch_CreateFileA);
/*
Real_CreateFileW = (def_CreateFileW)DetourFunction(
(PBYTE)DetourFindFunction("kernel32.dll", "CreateFileW"),
(PBYTE)Arch_CreateFileW);
(PBYTE)Arch_CreateFileW);*/
Real_ReadFile = (def_ReadFile)DetourFunction(
(PBYTE)DetourFindFunction("kernel32.dll", "ReadFile"),