tiboyce icon indicating copy to clipboard operation
tiboyce copied to clipboard

Image preview for savestates

Open runer112 opened this issue 6 years ago • 1 comments

When in the menu and the cursor is on the load savestate option, it would be nice if the paused game display is replaced with a preview of the selected savestate.

This could be implemented in two ways:

  1. (Probably) easier, but space-inefficient: upon creating a save state, store the last frame rendered along with the save state. Ideally this could be compressed to make it less space-inefficient.
  2. (Probably) harder, but with no space cost and cool as hell: upon highlighting a savestate to load, render the next frame from the savestate on demand. This would require enough space in RAM to temporarily save the current game state so you could then load up the highlighted savestate, emulate enough in the background to render a full frame, and capture that frame for the preview. You could dip into user RAM if necessary, and if there's not enough, just abort and display an error message in the image preview space.

runer112 avatar Jun 19 '18 19:06 runer112

Crazy thought: could you dramatically cut down on the JIT space and use that to (at least partially) store the paused game state? And/or make sure to render the frame at 100% scale and use extra VRAM space?

runer112 avatar Jun 19 '18 19:06 runer112