From 7d910a5e4a48134201f99f3e098a531ceffe9c4d Mon Sep 17 00:00:00 2001 From: hrydgard Date: Fri, 20 Mar 2009 18:13:31 +0000 Subject: Assorted cleanup and comments. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2693 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp') 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; -- cgit v1.2.3