Fix comment in idzio/di.c

This commit is contained in:
Tau 2021-06-06 09:49:09 -04:00
parent d2b9c6034d
commit 2cd6bdb695
1 changed files with 5 additions and 4 deletions

View File

@ -98,10 +98,11 @@ HRESULT idz_di_init(
} }
/* Initial D Zero has some built-in DirectInput support that is not /* Initial D Zero has some built-in DirectInput support that is not
particularly useful. We short this out by dropping a no-op dinput8.dll particularly useful. idzhook shorts this out by redirecting dinput8.dll
into the install directory. However, this DLL does need to talk to the to a no-op implementation of DirectInput. However, idzio does need to
real operating system implementation of DirectInput without the stub DLL talk to the real operating system implementation of DirectInput without
interfering, so build a path to C:\Windows\System32\dinput.dll here. */ the stub DLL interfering, so build a path to
C:\Windows\System32\dinput.dll here. */
dll_path[0] = L'\0'; dll_path[0] = L'\0';
path_pos = GetSystemDirectoryW(dll_path, _countof(dll_path)); path_pos = GetSystemDirectoryW(dll_path, _countof(dll_path));