Skip to content

Ensure switch-buffer command always waits for vsync#98

Merged
breakintoprogram merged 1 commit intobreakintoprogram:mainfrom
stevesims:wait-vsync-upstream
Sep 24, 2023
Merged

Ensure switch-buffer command always waits for vsync#98
breakintoprogram merged 1 commit intobreakintoprogram:mainfrom
stevesims:wait-vsync-upstream

Conversation

@stevesims
Copy link
Copy Markdown
Contributor

This modification ensures we have a VDP-side "wait for VSYNC" command.

Owing to how double-buffered screen modes work, the existing "switch buffer" command effectively is already a "wait for VSYNC" command, but one that will only work on double-buffered screen modes.

This change ensures that for non-double-buffered modes the command will maintain the "wait for VSYNC" functionality.

Providing the ability for a command stream on the VDP to wait for VSYNC is a useful function for buffered commands.

@breakintoprogram breakintoprogram merged commit 002d7cf into breakintoprogram:main Sep 24, 2023
@breakintoprogram breakintoprogram added the enhancement New feature or request label Sep 24, 2023
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

Status: Released

Development

Successfully merging this pull request may close these issues.

2 participants