Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
autosave??
04-27-2013, 07:30 AM
Post: #9
RE: autosave??
I don't know, it's not THAT crazy. Some emulators can even take a snapshot every second, then if Mario falls into a pit you can just press backspace a few times and warp back.

On a NES though, a savestate is about 2kb so you can have infinite amounts of them in RAM. On the PSP, even a compressed savestate is often 15-20 MB so we can't keep that many in RAM. On PCs though you could keep quite a few though...

The other issue with the bigger savestates is that it takes time to do the snapshot. You only have a few milliseconds to do it, otherwise you will notices a stutter every time the emu takes a snapshot. On fast PCs it may be possible to do it fast enough (we'll have to avoid clearing caches the way we do now though somehow), will be very hard on mobile though.

An alternative autosave model is to simply have a single savestate in RAM that you save to every minute or so, and write it to disk/permanent memory on a background thread. This approach might even be possible to do nicely on mobiles, but loading a savestate other than the very last one will be slower.

Of course there are even more possibilities.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
autosave?? - ppssppftw - 04-25-2013, 10:34 AM
RE: autosave?? - rikimtasu - 04-25-2013, 01:42 PM
RE: autosave?? - Preet - 04-25-2013, 01:46 PM
RE: autosave?? - vnctdj - 04-25-2013, 02:29 PM
RE: autosave?? - Preet - 04-25-2013, 03:15 PM
RE: autosave?? - GuilhermeGS2 - 04-25-2013, 05:17 PM
RE: autosave?? - vontman - 04-26-2013, 08:12 AM
RE: autosave?? - GuilhermeGS2 - 04-26-2013, 04:36 PM
RE: autosave?? - Henrik - 04-27-2013 07:30 AM

Forum Jump: