Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add selectable savestates #550

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

negative-seven
Copy link

Add the concept of a "selected savestate", along with 4 hotkeys: two for incrementing and decrementing the selected slot, and two for saving and loading the selected state.

This is a feature present in the vast majority of rerecording console emulators, and, although I can't speak for others, it is my personally preferred method of managing savestates.

@negative-seven
Copy link
Author

Force pushed with no changes to rerun checks, as they previously timed out and failed for unknown reasons.

@@ -77,6 +79,8 @@ typedef int HotKeyType; enum
HOTKEY_LOADBRANCH8,
HOTKEY_LOADBRANCH9,
HOTKEY_LOADBRANCH_BACKTRACK,
HOTKEY_SELECTSTATE_NEXT,
HOTKEY_SELECTSTATE_PREVIOUS,
Copy link
Owner

@clementgallet clementgallet Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would want to append the extra hotkeys at the end, so that it does not shift existing hotkey mappings

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing - I did not realize this. Maybe these enum values could be explicitly numbered to make that more apparant?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, just saw there is a comment about this at the top.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants