Open simontoens opened 8 years ago
Great, I am curious to see what the fix is.
Hi Simon. I just backported savestates.cpp from uae4all2. I'm not sure it makes any difference. Before the chances i used savestates with Monkey Island 2 on HD. Sometimes it worked sometimes it didn't and I didn't have the chance to test a lot with the new version yet.
I looked at savestates.cpp from uae4all2 a while back and I didn't see anything obvious in there about saving hd state. Still, good that you backported it just in case.
Hmm. Last few times savestates from HD worked for me. But it might be luck.
Especially because i found this in the comment sections of savestates.cpp
No difference in the latest uae4all2 concerning this comment by the way
Thanks for the update. That comment is pretty clear. But it is kind of strange it works sometimes...
I wonder if this has to do with correctly re-establishing the path of the hd file after iAmiga has been re-installed on a device? Does saving/restoring an hd state actually fail if you do not re-install iAmiga on the device? Or is the success/failure pattern just random?
Just played with this a little, it seems like hd states work as long as the right hd is manually mounted before the state is reloaded?
So maybe the fix is to track the mounted hd when saving a state and to mount it again when the state is restored? @emufreak does that sound right? Or did you run into other issues with this?
While I do think this helps the problem doesn't go away completely. Sometimes everything works fine. Sometimes I can play fine but when I try to save my progress I get a guru meditation. I think the problem has to do with saving on Harddisk.
Hi Simon. I'm working on this and will commit soon.