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

Report replay frame number for active_replay stdout api #17039

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

JoeOsborn
Copy link
Contributor

This changes the replay movie's frame_ptr (a 20-bit number used to point to a log of file offsets) into a frame counter, which is masked against the 20-bit pattern for use in the file offset log but also functions as a time index into the replay. Right now that is reported in GET_CONFIG_PARAM active_replay but in the future it could be used to show how far into the replay we are during playback or how long the replay is during recording.

This changes the replay movie's frame_ptr (a 20-bit number used to
point to a log of file offsets) into a frame counter, which is masked
against the 20-bit pattern for use in the file offset log but also
functions as a time index into the replay.  Right now that is reported
in `GET_CONFIG_PARAM active_replay` but in the future it could be used
to show how far into the replay we are during playback or how long the
replay is during recording.
@LibretroAdmin LibretroAdmin merged commit abe7d01 into libretro:master Sep 27, 2024
27 checks passed
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