diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-08-30 19:19:40 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-08-30 19:19:40 +0000 |
| commit | 85565688d7391d9e583dbb073ae7220bd5b1b911 (patch) | |
| tree | 1d99eaaf9a629287fce8036c1b744e763f123b89 /Source/Core/VideoCommon/Src/TextureDecoder.cpp | |
| parent | 6b6003c563d3cbb8dce94c67a7a8bae4331882f3 (diff) | |
New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 2652b6f3b3..1dd2c371fc 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -135,7 +135,7 @@ struct DXTBlock inline int expand8888(const int j)
{
int i = j | (j<<8);
- return i|(i<<16);
+ return i | (i<<16);
}
inline void decodebytesI4(u32 *dst, const u8 *src, int numbytes)
@@ -150,7 +150,8 @@ inline void decodebytesI4(u32 *dst, const u8 *src, int numbytes) inline void decodebytesI8(u32 *dst, const u8 *src, int numbytes)
{
- for (int x = 0; x < numbytes; x++)
+ // TODO: SSSE3 variant (pshufb), possibly SSE2 variant (packuswb). THP videos use this format.
+ for (int x = 0; x < numbytes; x++)
*dst++ = expand8888(src[x]);
}
|
