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 renderer hook for DJGPP hardware SMZX mode. #384

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

AliceLR
Copy link
Owner

@AliceLR AliceLR commented Oct 25, 2023

The DJGPP port EGA renderer handled hardware SMZX mode in its set_video_mode function, which only gets called when initializing a renderer or creating a new window (as it corresponds to the SDL 1.x function of the same name). This patch adds an extra hook specifically for set_screen_mode to be called in update_screen prior to committing palette changes to the renderer.

@AliceLR AliceLR added bug Introduced in GIT This bug is not included in any releases. labels Oct 25, 2023
@AliceLR AliceLR added this to the 2.93 milestone Oct 25, 2023
@AliceLR AliceLR merged commit c7ef0e2 into master Oct 26, 2023
14 checks passed
@AliceLR AliceLR deleted the fix-djgpp-smzx branch October 26, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Introduced in GIT This bug is not included in any releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant