TextureDecoder now indicates I4 and IA4 texture formats. It also decodes paletted textures more efficiently.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3213 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Nolan Check
2009-05-13 02:06:02 +00:00
parent 7c75b01dbf
commit dcad8a779d
4 changed files with 102 additions and 66 deletions

View File

@ -179,7 +179,7 @@ TextureCache::TCacheEntry *TextureCache::Load(int stage, u32 address, int width,
case PC_TEX_FMT_RGB565:
d3d_fmt = D3DFMT_R5G6B5;
break;
case PC_TEX_FMT_IA4:
case PC_TEX_FMT_IA4_AS_IA8:
d3d_fmt = D3DFMT_A4L4;
break;
case PC_TEX_FMT_I8: