mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(AKB): fixed background blending.
This commit is contained in:
parent
077495d50b
commit
dd2468f651
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user