TextureDecoder: Move XFB decoding to Common

This was previously missing for generic (which is used on ARM).
This commit is contained in:
Stenzek 2019-03-24 13:10:01 +10:00
parent 4b1adab785
commit dbaba0062a
4 changed files with 44 additions and 31 deletions

View file

@ -346,5 +346,8 @@ void _TexDecoder_DecodeImpl(u32* dst, const u8* src, int width, int height, Text
}
break;
}
case TextureFormat::XFB:
TexDecoder_DecodeXFB(reinterpret_cast<u8*>(dst), src, width, height, width * 2);
break;
}
}