2722dd5991
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 :) |
||
---|---|---|
.. | ||
docs | ||
aclocal.m4 | ||
config.guess | ||
config.sub | ||
configure | ||
configure.ac | ||
install-sh | ||
Makefile.in | ||
snes9x.conf.default | ||
unix.cpp | ||
x11.cpp |