Skip to content

Commit 3be4ecf

Browse files
committed
Fix the SgbDisplay.systemPalettes restore from memento.
1 parent c0f5404 commit 3be4ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/eu/rekawek/coffeegb/core/sgb/SgbDisplay.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class SgbDisplay implements Originator<SgbDisplay> {
4040

4141
private final int[][] palettes = new int[4][4];
4242

43-
private final int[][] systemPalettes = new int[512][];
43+
private final int[][] systemPalettes = new int[512][4];
4444

4545
private final int[] paletteMap = new int[DMG_TILES_WIDTH * DMG_TILES_HEIGHT];
4646

0 commit comments

Comments
 (0)