Skip to content

Commit

Permalink
Display: More improvements to serial calls.
Browse files Browse the repository at this point in the history
Partially fixes the Samsung 240x320 version of SpongeBob Movie,
which does some weird serial calls at startup and in turn sometimes
boots up with a white screen.
  • Loading branch information
AShiningRay committed Feb 21, 2025
1 parent 2a79e44 commit 2b4d1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javax/microedition/lcdui/Displayable.java
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ protected void _invalidate()
{
isValidating = true;

try { render(); }
try { Mobile.getDisplay().callSerially(() -> { render(); }); }
finally { isValidating = false; }
}
}
Expand Down

0 comments on commit 2b4d1d7

Please sign in to comment.