diff --git a/GPU/Common/TextureDecoder.h b/GPU/Common/TextureDecoder.h index 72bdd3d637..36303d8b4c 100644 --- a/GPU/Common/TextureDecoder.h +++ b/GPU/Common/TextureDecoder.h @@ -50,9 +50,9 @@ static const u32 textureAlignMask16[16] = { 0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_CLUT8, 0x7FF & ~(((8 * 16) / 16) - 1), //GE_TFMT_CLUT16, 0x7FF & ~(((8 * 16) / 32) - 1), //GE_TFMT_CLUT32, - 0x7FF & ~(((8 * 16) / 4) - 1), //GE_TFMT_DXT1, - 0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_DXT3, - 0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_DXT5, + 0x7FF, //GE_TFMT_DXT1, + 0x7FF, //GE_TFMT_DXT3, + 0x7FF, //GE_TFMT_DXT5, 0, // INVALID, 0, // INVALID, 0, // INVALID, @@ -71,4 +71,4 @@ static inline u32 GetTextureBufw(int level, u32 texaddr, GETextureFormat format) bufw = (8 * 16) / textureBitsPerPixel[format]; } return bufw; -} \ No newline at end of file +}