From dd2468f651fb506659463394d2d44d7ff1f83639 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 7 Feb 2017 13:51:58 +0400 Subject: [PATCH] (AKB): fixed background blending. --- ArcFormats/Silky/ImageAKB.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/Silky/ImageAKB.cs b/ArcFormats/Silky/ImageAKB.cs index b4c0c957..a6f28da1 100644 --- a/ArcFormats/Silky/ImageAKB.cs +++ b/ArcFormats/Silky/ImageAKB.cs @@ -173,9 +173,7 @@ namespace GameRes.Formats.Silky blend_row = () => { for (int x = 0; x < inner_stride; x += m_pixel_size) { - if (pixels[src+x ] != m_info.Background[0] || - pixels[src+x+1] != m_info.Background[1] || - pixels[src+x+2] != m_info.Background[2]) + if (0x00 != pixels[src+x] || 0xFF != pixels[src+x+1] || 0x00 != pixels[src+x+2]) { for (int i = 0; i < m_pixel_size; ++i) image[dst+x+i] = pixels[src+x+i];