Fixed 8bpp and 4bpp index packing

This commit is contained in:
2025-03-12 16:53:07 +01:00
parent e9dca50c2d
commit f26fb5e467
2 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using PSXSplash.RuntimeCode;
@@ -154,7 +153,7 @@ namespace PSXSplash.RuntimeCode
int clutHeight = 1;
bool placed = false;
for (int x = 0; x < VRAM_WIDTH; x++)
for (int x = 0; x < VRAM_WIDTH; x+=16)
{
for (int y = 0; y <= VRAM_HEIGHT; y++)
{