ares-emulator / ares

ares is a cross-platform, open source, multi-system emulator, focusing on accuracy and preservation.
https://ares-emu.net
Other
998 stars 123 forks source link

[FEATURE REQUEST] Save State by Hotkeys #1698

Open Blackgrowl opened 6 days ago

Blackgrowl commented 6 days ago

Hello. I would like to request an ability to save states as hotkeys.

I believe this can be simply made by adding it into Hotkeys category, perhaps making it into its own tab as well to keep it tidy.

Since Ares uses Slots from 1 to 9, allow as much then.

You can name them all as such: Save State to Slot X Load State to Slot X

By default (I don't think this matters, hotkeys are always set by user), they're set from F1 to F8 and the "Load States" require Shift to be hold.

I also hope that Shift can be made non-strict, meaning...I can hold Left OR Right Shift, not exclusively Left Shift.

remutro commented 6 days ago

There are currently two hotkeys that can be set to load and save state, but only from the currently selected slot (there are also undo/redo options if you mess up and revert before other changes to state). But there currently aren't hotkeys to scroll or select save state slot which I agree would be useful. We likely wouldn't add 18 new hotkeys though, one for each. I say 18 hotkeys as we don't currently have the ability to be additive (so you can't hold one key and press another), so it may make more sense to add two keys to go forward/backward through save state slots. But you would only see this in the status bar using windowed mode as no overlays are currently implemented right now for full screen mode.