Skip to content

Commit

Permalink
Update exit value in hooks to valid code (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-miler authored Dec 1, 2022
1 parent a046eec commit 69eece7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NorthstarDLL/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 69eece7

Please sign in to comment.