Skip to content

Commit

Permalink
Merge pull request #77 from MikeIsAStar/do-not-automatically-display-…
Browse files Browse the repository at this point in the history
…the-exception-console

[MKW] Do not automatically display the exception console
  • Loading branch information
mkwcat authored Sep 12, 2024
2 parents 236a2e0 + 00ff866 commit decfd62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 32 deletions.
27 changes: 0 additions & 27 deletions payload/import/egg/exception.hpp

This file was deleted.

7 changes: 2 additions & 5 deletions payload/wwfcPayload.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "import/egg/exception.hpp"
#include "wwfcLogin.hpp"
#include "wwfcPatch.hpp"
#include "wwfcSupport.hpp"
Expand Down Expand Up @@ -115,8 +114,8 @@ static void CallCtors(const wwfc_payload* const payload)
continue;
}

ctor = (decltype(ctor)
) (reinterpret_cast<const char*>(payload) + ctorOffset);
ctor = (decltype(ctor)) (reinterpret_cast<const char*>(payload) +
ctorOffset);
(*ctor)();
}
}
Expand All @@ -143,8 +142,6 @@ s32 EntryAfterGOT(wwfc_payload* payload)
# endif
#endif

EGG::Exception::SetUserCallBack(nullptr);

CallCtors(payload);

Patch::ApplyPatchList(
Expand Down

0 comments on commit decfd62

Please sign in to comment.