EmuNewz Network

Full Version: VideoEngine.tryToFallback hang
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a problem which hangs Heroes Phantasia when certain special attacks are performed which cause too many "Unhandled alpha blend src used 11" ge errors. If these errors trigger "Aborting current list processing due to too many errors" too many times, the game hangs. Log is attached. It seems that the trytoFallback() method in VideoEngine doesn't properly finish the currentList and so the game hangs if it's called too many times.

One workaround is to skip the tryToFallback() method call in the VideoEngine.error() method, or set a large value for the VideoEngine.maxErrorCount so that the list is never aborted (50 works well in Heroes Phantasia). With this workaround, Heroes Phantasia works properly and I managed to finish the game without a single hang even when using the problematic special attacks many times. Without this workaround, the game usually hangs after performing the problematic special attacks 3 times.
Code:
07:32:20 ERROR       ge - GUI - Unhandled alpha blend src used 11
I've tested the behavior of this value on a real PSP using 3DStudio: it is interpreted as an ALPHA_FIX (value 10).
The same behavior is now implemented in Jpcsp with r2911. The error message has been removed.

Thank you for the detailed analysis!
Thanks for the fix, gid15! Awesome work as always. Smile