New texture (particularly 2D elements) will appear :
- life bar on Jojo for example
- Some text in Crazy Taxi
- Time and money counter in Crazy Taxi
- SEGA Logo and Hud Elements in Sega Tetris
Details :
fix(gxRend): decode 4BPP/8BPP palette textures to 16bpp GX pixels
Replace GX_TF_I4/I8 stub with full software palette lookup for fmt=5
and fmt=6 textures. Previously, raw palette indices were passed to GX
as intensity/greyscale values, rendering all indexed textures as grey.
For each pixel, read the twiddled index byte, look up the PALETTE_RAM
entry selected by PalSelect, convert to GX RGB565 (pal_fmt=1) or
RGB5A3 (pal_fmt=0/2/3), and write via GX_TexOffs. SetupPaletteForTexture
stub is no longer called for these cases.
Tested: previously-grey indexed textures now show correct palette colours.
Known issue: some textures appear black (likely correct palette
content on a dark background, not a regression).
See docs / 4BPP / 8BPP Palette Texture Implementation for more infos