Skip to content

Commit

Permalink
Fix casing of KERNEL32.DLL (#768)
Browse files Browse the repository at this point in the history
This is a certified windows moment. Case insensitive but also not sometimes I guess
  • Loading branch information
ASpoonPlaysGames authored Aug 18, 2024
1 parent 5c730b0 commit bebda79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primedev/windows/libsys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ HMODULE WINAPI WLoadLibraryExW(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlag
//-----------------------------------------------------------------------------
void LibSys_Init()
{
HMODULE hKernel = GetModuleHandleA("Kernel32.dll");
HMODULE hKernel = GetModuleHandleA("KERNEL32.DLL");

o_LoadLibraryA = reinterpret_cast<ILoadLibraryA>(GetProcAddress(hKernel, "LoadLibraryA"));
o_LoadLibraryExA = reinterpret_cast<ILoadLibraryExA>(GetProcAddress(hKernel, "LoadLibraryExA"));
Expand Down

0 comments on commit bebda79

Please sign in to comment.