summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-03-20 18:13:31 +0000
committerhrydgard <hrydgard@gmail.com>2009-03-20 18:13:31 +0000
commit7d910a5e4a48134201f99f3e098a531ceffe9c4d (patch)
tree3444448281696ac17bfa75705a05313fbdadabb3 /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parentf126378de66bb2ad0836e552205714f1c0cb3f2e (diff)
Assorted cleanup and comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2693 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
index 4dbfeee204..4ca645caaf 100644
--- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
@@ -133,8 +133,8 @@ inline u32 decode565(u16 val)
inline u32 decodeIA8(u16 val)
{
- int a=val>>8;
- int i=val&0xFF;
+ int a = val >> 8;
+ int i = val & 0xFF;
return (a<<24) | (i<<16) | (i<<8) | i;
}
@@ -158,8 +158,6 @@ inline u32 decode5A3(u16 val)
return (a<<24) | (r<<16) | (g<<8) | b;
}
-
-
struct DXTBlock
{
u16 color1;