Skip to content

Fix Python API screen buffer uses unblended palette#694

Open
lmBored wants to merge 1 commit intoFarama-Foundation:masterfrom
lmBored:fadeto
Open

Fix Python API screen buffer uses unblended palette#694
lmBored wants to merge 1 commit intoFarama-Foundation:masterfrom
lmBored:fadeto

Conversation

@lmBored
Copy link
Copy Markdown

@lmBored lmBored commented Mar 1, 2026

As discussed on Discord, Python API screen buffer uses VIZ_CopyBuffer(), this calls screen->GetPalette() which returns SourcePalette. This is unblended base palette, so functions like FadeTo() is not visible and doesnt work.

@lmBored
Copy link
Copy Markdown
Author

lmBored commented Mar 16, 2026

@mwydmuch Hi, I just want to ask if you maybe had a chance to take a look at this PR? :)

Thank you in advance.

@mwydmuch
Copy link
Copy Markdown
Member

Hi @lmBored, thanks for bumping this PR. I was quite occupied with other things last two weeks, but I should take a look into this PR by the end of this week.

@lmBored
Copy link
Copy Markdown
Author

lmBored commented Mar 17, 2026

Interesting, this test passed locally for me (I'm on Mac M series). The flash state timing is system-dependent ig, good that CI runner catches this

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