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

Fix player sprite flickering #68

Open
picosonic opened this issue Nov 13, 2024 · 1 comment
Open

Fix player sprite flickering #68

picosonic opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@picosonic
Copy link
Owner

Because the player sprite is drawn in the mainline code it is not tied to VBLANK and as such flickers.

The original code drew the player sprite in an interrupt routine interentry(), which was controlled by dontupdatedizzy flag.

When dontupdatedizzy was 0 (enable), it would call updatedizzy().

@picosonic picosonic added the enhancement New feature or request label Nov 13, 2024
@picosonic picosonic self-assigned this Nov 13, 2024
@picosonic
Copy link
Owner Author

In my implementation of the updatedizzy() function I did have a waitvsync() call, however this doesn't have the desired effect.

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