Reduce old GB palette to two

This commit is contained in:
Kevin Hamacher 2020-02-20 19:15:31 +01:00
parent 6efb1507ff
commit fff0f05b73

View File

@ -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,