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
Implement workaround for SDL bug where GX2SetSwapInterval(0) causes
black screen after returning from HOME menu. When leaving foreground,
GX2 silently restores swap interval to 1, but SDL doesn't reapply
zero-interval mode after regaining foreground, causing render thread
to stop presenting frames.
Changes:
- Force VSYNC enabled on Wii U in SetVideoMode() renderer creation
- Prevent VSYNC toggle from disabling VSYNC on Wii U in all games
- Add detailed comments explaining the SDL bug and workaround
- Only affects Wii U builds via __WIIU__ preprocessor guards
This workaround keeps GX2SetSwapInterval(1) active so the system's
reset matches what SDL expects, preventing the black screen hang.
Long-term solution: Rebuild SDL with PR devkitPro/SDL#107 which
adds proper GX2SetSwapInterval(0) reapplication in WIIU_ForegroundAcquired().
0 commit comments