Update Grayscale8bpp to remove black backgrounds from Digit Textures (#735)

* Update Grayscale8bpp to remove black backgrounds from Digit Textures in SoH

* Adding Grayscale4bpp as well.
This commit is contained in:
Caladius
2024-12-07 11:40:13 -05:00
committed by GitHub
parent d252cc241e
commit 99d78d6138
+3 -3
View File
@@ -866,7 +866,7 @@ void Gui::LoadGuiTexture(const std::string& name, const LUS::Texture& res, const
texBuffer.push_back(ia);
texBuffer.push_back(ia);
texBuffer.push_back(ia);
texBuffer.push_back(0xFF);
texBuffer.push_back(ia);
}
break;
}
@@ -878,13 +878,13 @@ void Gui::LoadGuiTexture(const std::string& name, const LUS::Texture& res, const
texBuffer.push_back(ia4);
texBuffer.push_back(ia4);
texBuffer.push_back(ia4);
texBuffer.push_back(0xFF);
texBuffer.push_back(ia4);
ia4 = ((b & 0xF) * 0xFF) / 0b1111;
texBuffer.push_back(ia4);
texBuffer.push_back(ia4);
texBuffer.push_back(ia4);
texBuffer.push_back(0xFF);
texBuffer.push_back(ia4);
}
break;
}