Remove unused field

This commit is contained in:
Gwilym Kuiper 2021-10-28 21:48:22 +01:00
parent e3a35a2eda
commit 0a68eee3f9

View file

@ -129,7 +129,6 @@ impl<'a> Map<'a> {
pub struct BackgroundRegister {
background: u8,
block: u8,
background_size: BackgroundSize,
shadowed_register: u16,
}
@ -138,7 +137,6 @@ impl<'a> BackgroundRegister {
let mut b = Self {
background,
block,
background_size,
shadowed_register: 0,
};
b.set_block(block);