I think that those calls in the original code were assumed to be like a fopen call, which behaves precisely like that. In some cases the branches tested only if it wasn't equal to zero bnezthus making it work unreliably. Pratically the calls sttaion fioOpen and fileXioOpen station they ps2 will always return a number bigger or equal to zero bgez. This ieo that the subsequent calls to fileXioOpen will never work. This was needed because in the emulator code while saving or loading a save state I forgot which of the two the station is never closed and so it becomes locked. But I won't assume any responsability for any damage on those devices! To make Save States more stable I had to proceed in iso ways: 1 I wrote a supplement function binded to fioClose that automatically closes all the opened files whenever a file is closed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |