mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-12 01:51:34 +11:00
fix build
This commit is contained in:
parent
f7c2118a40
commit
9192722f5a
|
@ -87,7 +87,7 @@ pub struct BackgroundRegular<'a> {
|
||||||
shadowed_position: Vector2D<i32>,
|
shadowed_position: Vector2D<i32>,
|
||||||
poisoned: bool,
|
poisoned: bool,
|
||||||
shadowed_register: u16,
|
shadowed_register: u16,
|
||||||
copy_size: Vector2D<u8>,
|
copy_size: Vector2D<u16>,
|
||||||
background_size: BackgroundSize,
|
background_size: BackgroundSize,
|
||||||
map: Option<Map<'a>>,
|
map: Option<Map<'a>>,
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ impl<'a> BackgroundRegular<'a> {
|
||||||
commited_position: (0, 0).into(),
|
commited_position: (0, 0).into(),
|
||||||
shadowed_position: (0, 0).into(),
|
shadowed_position: (0, 0).into(),
|
||||||
shadowed_register: 0,
|
shadowed_register: 0,
|
||||||
copy_size: (30, 20).into(),
|
copy_size: (30_u16, 20_u16).into(),
|
||||||
background_size: size,
|
background_size: size,
|
||||||
poisoned: true,
|
poisoned: true,
|
||||||
map: None,
|
map: None,
|
||||||
|
|
Loading…
Reference in a new issue