aboutsummaryrefslogtreecommitdiff
path: root/primedev
diff options
context:
space:
mode:
Diffstat (limited to 'primedev')
-rw-r--r--primedev/windows/libsys.cpp2
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"));