diff options
author | Emma Miler <emma.pi@protonmail.com> | 2022-12-01 20:32:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 20:32:32 +0100 |
commit | 69eece729c99c47eb02362e00440ce1c114b143d (patch) | |
tree | 22f93d069ed756b10fa2b85120c3b55326bae144 | |
parent | a046eec2d9502640e485c2544a3acef64c68b63c (diff) | |
download | NorthstarLauncher-69eece729c99c47eb02362e00440ce1c114b143d.tar.gz NorthstarLauncher-69eece729c99c47eb02362e00440ce1c114b143d.zip |
Update exit value in hooks to valid code (#354)
-rw-r--r-- | NorthstarDLL/hooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/hooks.cpp b/NorthstarDLL/hooks.cpp index cca1d986..cc1c284d 100644 --- a/NorthstarDLL/hooks.cpp +++ b/NorthstarDLL/hooks.cpp @@ -364,7 +364,7 @@ HMODULE, WINAPI, (LPCSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)) if (!moduleAddress) { MessageBoxA(0, "Could not find XInput9_1_0.dll", "Northstar", MB_ICONERROR); - exit(-1); + exit(EXIT_FAILURE); return nullptr; } |