New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulator crashes in Final Fantasy X during intro #72
Comments
@HerPizzaFace From the looks of the crash dump, it seems that an unhandled exception occurred, but there's no way to see where it happened. I've made a special build that will display a message box when an exception is caught: http://purei.org/downloads/play/special/Play-HerPizzaFace-ExceptionCatcher.exe So in theory, you should get a message box at the same moment you are getting the crash on that build. The message should give me more info about the cause of the problem. |
Thanks, I was not expecting that at all... You're playing from a ISO/BIN disk image? My guess is that there was an issue reading the disk image file, I might not be handling large ISO files properly. I'll do some testing on my side to see if that's the problem. |
Ok, I could reproduce the issue using a .BIN dump of the disk. Shouldn't be too hard to fix now that I can debug the thing. |
Not a problem with large file support after all, it's just that Win32's ReadFile (called by fread) reports an error when trying to read a file on a write-protected memory region (rather than triggering an exception that the emulator could catch). Quite easy to fix and will be in Sunday's build. |
@HerPizzaFace2 I'm testing games using ISZ files (UltraISO compressed disk images) for the most part and the crash doesn't happen because the protected memory is being written by user code (rather than a system call function) when using this compressed ISO format, which in turn causes the emulator's exception handler to be called. The protected memory change is not so old (3 weeks ago), so people might have played the game successfully before that change was made. CSO files would also work properly. |
Fixed in c844eb3. Will be in tomorrow's weekly build. |
Awesome! Glad it works! Thanks for testing and reporting the bug! :) |
Crashes when "Sinspawn Ammes" appears.
Reported by @HerPizzaFace in #27
Screen shots:
https://cloud.githubusercontent.com/assets/12665021/8274006/025d7894-1853-11e5-8b79-b9bf545e43f5.jpg
https://cloud.githubusercontent.com/assets/12665021/8274007/03a87d70-1853-11e5-9672-eac4e070f926.jpg
Hardware specs:
CPU: i3-4160 (AVX 2.0, SSE4.1/4.2, MMX, SSE3, SSE2, SSSE3, FMA, MMX, SSE).
GPU: Intel HD 4400 (although I'm pretty sure the GPU isn't the issue).
The text was updated successfully, but these errors were encountered: