aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/hooks.cpp
diff options
context:
space:
mode:
authorEmma Miler <emma.pi@protonmail.com>2022-12-01 20:32:32 +0100
committerGitHub <noreply@github.com>2022-12-01 20:32:32 +0100
commit69eece729c99c47eb02362e00440ce1c114b143d (patch)
tree22f93d069ed756b10fa2b85120c3b55326bae144 /NorthstarDLL/hooks.cpp
parenta046eec2d9502640e485c2544a3acef64c68b63c (diff)
downloadNorthstarLauncher-69eece729c99c47eb02362e00440ce1c114b143d.tar.gz
NorthstarLauncher-69eece729c99c47eb02362e00440ce1c114b143d.zip
Update exit value in hooks to valid code (#354)
Diffstat (limited to 'NorthstarDLL/hooks.cpp')
-rw-r--r--NorthstarDLL/hooks.cpp2
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;
}