diff --git a/Source/Client/Application/UnhandledExceptionHandler.cpp b/Source/Client/Application/UnhandledExceptionHandler.cpp index b030c154..b57d1212 100644 --- a/Source/Client/Application/UnhandledExceptionHandler.cpp +++ b/Source/Client/Application/UnhandledExceptionHandler.cpp @@ -78,13 +78,11 @@ bool InitUnhandledExceptionHandler(int (*callback)()) { // OFFSET: 0x00635C10 // FUNCTION: fn_04704 -int CleanupUnhandledExceptionHandler() { +void CleanupUnhandledExceptionHandler() { if (g_unhandledExceptionHandler != nullptr) { delete g_unhandledExceptionHandler; g_unhandledExceptionHandler = nullptr; } - - return 0; } // OFFSET: 0x00635C30 diff --git a/Source/Client/Application/UnhandledExceptionHandler.h b/Source/Client/Application/UnhandledExceptionHandler.h index 9f63a8a1..f86503a4 100644 --- a/Source/Client/Application/UnhandledExceptionHandler.h +++ b/Source/Client/Application/UnhandledExceptionHandler.h @@ -19,7 +19,7 @@ static_assert(sizeof(CUnhandledExceptionHandler) == 4); bool InitUnhandledExceptionHandler(int (*callback)()); -int CleanupUnhandledExceptionHandler(); +void CleanupUnhandledExceptionHandler(); INT_PTR CALLBACK DialogFunc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);