Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compatibility with new mods which use the C runtime of soku
This commit lets mods be loaded after the C runtime is initialized but before other static objects of soku are constructed. - Soku2 probably hooks constructors of static objects of soku. So it is too late to load Soku2 after these constructors are called. - Some new mods depend on the C runtime of soku. So they should be loaded after the C runtime of soku is initialized. `SetUnhandledExceptionFilter` is now called before mods are loaded, so that mods can easily get the unhandled exception filter of SWRSToys and set their own ones when being initialized.
- Loading branch information