This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VideoEngine.tryToFallback hang
#1
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.


Attached Files
.zip   log_heroes_phantasia_hang.zip (Size: 22.17 KB / Downloads: 88)
Reply
#2
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!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#3
Thanks for the fix, gid15! Awesome work as always. Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)