You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix compatibility with new mods using C runtime of soku
This commit lets mods be loaded after C runtime is initialized but
before other static objects of soku are constructed.
- Soku2 probably hooks constructors of stuff of soku. So it is too late
to load Soku2 after all static variables of soku are constructed.
- Some new mods depend on C runtime of soku. So they should be loaded
after C runtime of soku is initialized.
Call `SetUnhandledExceptionFilter` before loading mods, as a workaround
for a odd behaviour that the game will crashed when entering replay
mode, if unhandled exception filter of SWRSToys is set in SokuMain hook
or soon after mods are loaded.
0 commit comments