From fff0f05b736b31cbf2f730313bffebc91554c460 Mon Sep 17 00:00:00 2001 From: Kevin Hamacher Date: Thu, 20 Feb 2020 19:15:31 +0100 Subject: [PATCH] Reduce old GB palette to two --- src/display.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display.rs b/src/display.rs index 776abee..da08e8b 100644 --- a/src/display.rs +++ b/src/display.rs @@ -193,7 +193,7 @@ pub struct Display { status: u8, background_palette: u8, // Only 0 and 1 for GB - object_palette: [u8; 256], //4 * 2 * 8], + object_palette: [u8; 2], scrollx: u8, scrolly: u8, windowx: u8, @@ -248,7 +248,7 @@ impl Display { control: 0, status: 0, background_palette: 0, - object_palette: [0u8; 256], // 64], + object_palette: [0u8; 2], scrollx: 0, scrolly: 0, windowx: 0,