mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Remove unused field
This commit is contained in:
parent
e3a35a2eda
commit
0a68eee3f9
|
@ -129,7 +129,6 @@ impl<'a> Map<'a> {
|
||||||
pub struct BackgroundRegister {
|
pub struct BackgroundRegister {
|
||||||
background: u8,
|
background: u8,
|
||||||
block: u8,
|
block: u8,
|
||||||
background_size: BackgroundSize,
|
|
||||||
shadowed_register: u16,
|
shadowed_register: u16,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +137,6 @@ impl<'a> BackgroundRegister {
|
||||||
let mut b = Self {
|
let mut b = Self {
|
||||||
background,
|
background,
|
||||||
block,
|
block,
|
||||||
background_size,
|
|
||||||
shadowed_register: 0,
|
shadowed_register: 0,
|
||||||
};
|
};
|
||||||
b.set_block(block);
|
b.set_block(block);
|
||||||
|
|
Loading…
Reference in a new issue