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

Incorrect color scaling values in sprites, tiles and maps viewer #1511

Closed
Prof9 opened this issue Aug 26, 2019 · 0 comments
Closed

Incorrect color scaling values in sprites, tiles and maps viewer #1511

Prof9 opened this issue Aug 26, 2019 · 0 comments

Comments

@Prof9
Copy link
Contributor

Prof9 commented Aug 26, 2019

Using latest development build downloaded from mgba.io.

Color component values are scaled incorrectly in the sprites, tiles and maps viewers. For example, a pure white pixel (31,31,31) is shown as having Red: 0xf8 (248), Green: 0xf8 (248) and Blue: 0xf8 (248) components. The pixels themselves are displayed correctly, just the textual representation is incorrect.

In the palette viewer, the colors are correctly scaled, e.g. a (31,31,31) pixel is correctly shown as having hex value #ffffff.

image

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

No branches or pull requests

1 participant