snes9x/unix
Greg Kennedy 2722dd5991
UNIX: fix incorrect YUY2 conversion
Removal of GFX_MULTI_FORMAT forces all internal formats to RGB565, however YUY2 conversion still expected RGB555 in some places.  Notably, the color lookup was being built in RGB555 but now referenced in RGB565..

This changes x11.cpp to correctly do YUY2 color lookup based on the RGB555 value, by dropping the LSB of the green component.

Incidentally this fixes an outstanding TODO re: text rendering onto YUY2, where the RGB565 was already assumed internally.  Now it's just assumed everywhere :)
2019-09-16 09:08:26 -05:00
..
docs Update changelog / update minizip to 1.01h / update docs / Mac: changed MusicBox to Cocoa interface 2011-04-10 22:44:28 +09:00
aclocal.m4 Add aclocal.m4, update configure with system_zip fix. 2016-11-15 15:34:57 -06:00
config.guess Update config.sub, config.guess, install-sh to latest from autotools re: issue #81 2016-01-02 22:40:24 -06:00
config.sub Update config.sub, config.guess, install-sh to latest from autotools re: issue #81 2016-01-02 22:40:24 -06:00
configure unix: Revert -Ofast to -O3. 2019-05-06 23:56:06 +09:00
configure.ac unix: Revert -Ofast to -O3. 2019-05-06 23:56:06 +09:00
install-sh Update config.sub, config.guess, install-sh to latest from autotools re: issue #81 2016-01-02 22:40:24 -06:00
Makefile.in tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
snes9x.conf.default Only show if DisplayTime is enabled in settings 2019-05-11 23:24:17 -04:00
unix.cpp Revert to higher APU clock. 2019-04-12 12:10:51 -05:00
x11.cpp UNIX: fix incorrect YUY2 conversion 2019-09-16 09:08:26 -05:00