Make 'Ys I & II Eternal Story' playable.
Posted on 2006-02-17 00:00:00
Added saving of DBCMAN and CDVDFSV modules state in saved states. It should be now possible to keep playing the game after saving and loading the state in a new instance of the application.

Fixed the dialog color issues when using a Windows XP style.

I also added the virtual machine reset functionality when booting from a disk or loading an ELF executable. Now, the cdrom0 disk image can be changed using the configuration dialogs and the application doesn't need to be restarted anymore for the changes to take effect.

I was thinking about adding a function in the virtual machine menu to reset the virtual machine only but this isn't possible right now with the same "Reset" function I've made because it clears all the RAM and it will also clear the loaded executable at the same time. What I really needed for this development anyways was the "reset on loading" bit. I might add the reset menu item in a later development...

I also checked the bug that causes the game to hang after hitting an enemy and this seems to be related to a bug in the FPU since it remains stuck in FPU intensive routines.

I was able to reproduce the crashing problem that was happening randomly while the movie was playing. It's not related to the thread thing like I was thinking. It crashes because it's jumping to address 0 using a register whose value is 0. I wasn't able to analyse the state much since I didn't have much time to do it, and also because I lost it when I was about to start working on it because of a power outage. I'll re-run the simulation this night and hopefully come with a fix for this tomorrow.