Added cluts

This commit is contained in:
2025-03-23 13:08:13 +01:00
parent afe9feb192
commit b0800a3995
3 changed files with 34 additions and 9 deletions

View File

@@ -227,7 +227,7 @@ namespace SplashEdit.RuntimeCode
if (IsPlacementValid(candidate))
{
_allocatedCLUTs.Add(candidate);
texture.ClutPackingX = x;
texture.ClutPackingX = (ushort)(x/16);
texture.ClutPackingY = y;
placed = true;
break;