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 get() in LCD register FF69 to return 8 bits. Fixes #224 #300

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

krs013
Copy link
Collaborator

@krs013 krs013 commented Dec 26, 2023

The LCD register get method was not checking the value of .hl and returning a byte; it returned the whole 16-bit register. This was either sending the wrong data to the CPU or promoting registers to 16 bits depending on whether PyBoy was compiled or not.

@Baekalfen Baekalfen merged commit b6adc3a into Baekalfen:master Dec 26, 2023
28 checks passed
@krs013 krs013 deleted the palette-read-fix branch January 29, 2024 03:39
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