little fix for my last commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6921 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado 2011-01-26 03:00:00 +00:00
parent e153da1c9d
commit 71d93bdbc8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ __forceinline void _SetCol6666(u32 val)
__forceinline void _SetCol565(u16 val)
{
u32 col = (val >> 8) & 0xF8;
col |= (val << 3) & 0xFC00;
col |= (val << 5) & 0xFC00;
col |=(((u32)val) << 19) & 0xF80000;
col |= (col >> 5) & 0x070007;
col |= (col >> 6) & 0x000300;