mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-12 01:51:34 +11:00
Merge pull request #125 from gwilymk/remove-unused-background-size-field
Remove unused field
This commit is contained in:
commit
b75cf33957
|
@ -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