Skip to content

Commit

Permalink
[MKW] Do not automatically display the exception console
Browse files Browse the repository at this point in the history
This was valuable for debugging exceptions during the development of the payload, but it is no longer required now that we have attained a level of maturity.
  • Loading branch information
MikeIsAStar authored and MikeIsAStar committed Aug 24, 2024
1 parent 0d993ae commit 00ff866
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 00ff866

Please sign in to comment.