Skip to content

Fix regression in palettized VGA line draw function#2491

Merged
kcgen merged 2 commits intomainfrom
kc/fix-vga-line-wrap-1
May 17, 2023
Merged

Fix regression in palettized VGA line draw function#2491
kcgen merged 2 commits intomainfrom
kc/fix-vga-line-wrap-1

Conversation

@kcgen
Copy link
Copy Markdown
Member

@kcgen kcgen commented May 17, 2023

Fixes #2488. Thanks for flagging this @Burrito78.

Had to revert to the vgaonly instance of this function (where it contains separate code paths for the wrapped and unwrapped portions), and then re-added the address and palette iterators like in the (now gone) lamda version.

Included notes on how the code can be exercised in case this code gets touched again.

@kcgen kcgen added the regression We broke something 😊 label May 17, 2023
@kcgen kcgen self-assigned this May 17, 2023
Comment thread src/hardware/vga_draw.cpp Outdated
Copy link
Copy Markdown
Member

@johnnovak johnnovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not close enough to this to understand it, and don't want to spend the time to get into the details... so if it works, it works 😄 Hopefully it won't cause regressions in other games. The comments are nice 👍🏻

@kcgen kcgen merged commit 27fa677 into main May 17, 2023
@kcgen kcgen deleted the kc/fix-vga-line-wrap-1 branch May 18, 2023 22:21
@johnnovak johnnovak added the video Graphics and video related issues label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

regression We broke something 😊 video Graphics and video related issues

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Commander Keen 4 flickering pixel lines

2 participants