Update SetColorsPalette function to set palette size to 256, no longer uses vector as underlying so assignment operations dont increment size

This commit is contained in:
scawful
2025-04-23 20:17:04 -04:00
parent 131f0485c6
commit 683b7f637d

View File

@@ -623,6 +623,7 @@ absl::Status SetColorsPalette(Rom &rom, int index, gfx::SnesPalette &current,
current[(i / 16) * 16].set_transparent(true);
}
current.set_size(256);
return absl::OkStatus();
}
} // namespace palette_internal