Fix color conversion on interpreter
This causes the MSB to be copied into the green channe LSB, causing a very subtle (almost imposible to see) color distortion. Dynarecs use their own code path so are not afected.
This commit is contained in:
parent
6c4ffc4db2
commit
1955336a2b
1 changed files with 1 additions and 1 deletions
2
common.h
2
common.h
|
@ -86,7 +86,7 @@
|
|||
(value & 0x7FFF)
|
||||
#else
|
||||
#define convert_palette(value) \
|
||||
(((value & 0x1F) << 11) | ((value & 0x03E0) << 1) | (value >> 10))
|
||||
(((value & 0x1F) << 11) | ((value & 0x03E0) << 1) | ((value >> 10) & 0x1F))
|
||||
#endif
|
||||
|
||||
#define GBA_SCREEN_WIDTH (240)
|
||||
|
|
Loading…
Add table
Reference in a new issue