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

Rewind support #159

Open
thenick775 opened this issue Aug 18, 2024 · 0 comments
Open

Rewind support #159

thenick775 opened this issue Aug 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@thenick775
Copy link
Owner

High Level Requirements:

  • we want to be able to leverage rewind functionality across the gba core contract(s)

    • this functionality can be seen in the non-wasm mGBA implementations, among other cores SkyEmu also has this functionality
  • we do not want this functionality to impact performance

    • may require threading through pthread -> web worker mechanisms (cross origin isolation required)

Rewind entails:

  • being able to step backwards through frames by holding a button within the control panel
    • replays all actions+frames taken with an accuracy/timing equal to ~60fps
    • once the user stops rewinding the game should pick up from that point in time moving forwards (including all items such as sound, etc.)

This is fairly complex and may take some time to create the proper contract and feature support in the upstream core repositories, but I believe it can definitely be done. With this addition, my contract for the mGBA WASM core will be feature complete, where I would like to expand this same contract to other cores (see: #156)

@thenick775 thenick775 added the enhancement New feature or request label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant