annoying housekeeping

This commit is contained in:
scawful
2024-02-01 00:13:34 -05:00
parent 9b30316b9a
commit d7b75fd7f6
7 changed files with 17 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ SnesPalette ReadPaletteFromRom(int offset, int num_colors, const uchar* rom) {
new_color.blue = ((color >> 10) & 0x1F) * 8;
colors[color_offset].set_snes(ConvertRGBtoSNES(new_color));
if (color_offset == 0) {
colors[color_offset].SetTransparent(true);
colors[color_offset].set_transparent(true);
}
color_offset++;
offset += 2;