Skip to content

Commit fd81594

Browse files
committed
Fix broken detour that was printing garbage in the log
1 parent 3665494 commit fd81594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thcrap/src/strings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ TH_EXPORT void strings_mod_detour(void)
463463
"MessageBoxA", strings_MessageBoxA, &chain_MessageBoxU,
464464
NULL
465465
);
466-
detour_chain("kernel32.dll", 2,
466+
detour_chain("kernel32.dll", 1,
467467
"FindFirstFileA", strings_FindFirstFileA, &chain_FindFirstFileU,
468468
"CreateFileA", strings_CreateFileA, &chain_CreateFileU,
469469
NULL

0 commit comments

Comments
 (0)