Decompress transparent color using midpoint color

This commit is contained in:
Jack Andersen 2019-03-02 20:16:44 -10:00
parent b3bbfee51d
commit 96c520ed95
1 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,8 @@ void DecompressColourGCN( u8* rgba, void const* block )
if( a <= b )
{
codes[8 + i] = ( u8 )( ( c + d )/2 );
codes[12 + i] = 0;
// GCN: Use midpoint RGB rather than black
codes[12 + i] = codes[8 + i];
}
else
{