Files
ppsspp/Core/HLE
Henrik RydgårdandClaude Opus 5.5 f53c27da1b Bejeweled 2: Fix the crash at the end of the loading bar
While loading, the game presents every frame but also pushes its
"next draw" time 35-50ms ahead per frame, so by the end of loading
it's about 7 seconds in the future. If loading finishes while the main
thread is in the middle of a present, that present resets the time and
nothing goes wrong. If it finishes anywhere else, the game stops
presenting for those 7 seconds but keeps drawing every frame into the
same 128KB display list, which overruns into the game's own globals
within a second and crashes.

Which way it goes depends on small timing differences.

A hook on the draw function does what the winning side of the race
does: once loading has completed, it pulls the next draw time back if
it's more than a second ahead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 12:42:53 +02:00
..
2026-08-11 10:28:36 +02:00
2025-08-06 17:44:54 +02:00
2025-07-20 19:30:35 +02:00
…
…
…
2026-10-06 04:59:56 +08:00
…
2025-07-20 19:32:05 +02:00
2025-02-14 09:50:55 -06:00
2026-08-11 10:28:36 +02:00
…
2026-08-11 10:28:47 +02:00
2026-08-11 10:28:47 +02:00
2026-08-24 09:30:44 +02:00
2025-04-03 14:13:50 +02:00
2026-08-11 20:14:01 +02:00
…
…