diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2024-08-19 00:06:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 01:06:48 +0200 |
commit | bebda79491b11a74195f79a80e0b929ef6edf2b1 (patch) | |
tree | dfde9c47ef9b75a5c4e8ab773c08ada954f4528b /primedev/windows | |
parent | 5c730b0bb3ffcb5f6da9b15e05f54f778d86c23f (diff) | |
download | NorthstarLauncher-bebda79491b11a74195f79a80e0b929ef6edf2b1.tar.gz NorthstarLauncher-bebda79491b11a74195f79a80e0b929ef6edf2b1.zip |
Fix casing of `KERNEL32.DLL` (#768)v1.27.3-rc2v1.27.3-rc1
This is a certified windows moment. Case insensitive but also not sometimes I guess
Diffstat (limited to 'primedev/windows')
-rw-r--r-- | primedev/windows/libsys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/windows/libsys.cpp b/primedev/windows/libsys.cpp index cda10435..dc699b84 100644 --- a/primedev/windows/libsys.cpp +++ b/primedev/windows/libsys.cpp @@ -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")); |