mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 10:51:30 +11:00
palbank for objects
This commit is contained in:
parent
ae15ae9b5b
commit
a90cfdab3b
|
@ -153,4 +153,8 @@ impl ObjAttr {
|
||||||
pub fn set_tile_id(&mut self, id: u16) {
|
pub fn set_tile_id(&mut self, id: u16) {
|
||||||
self.2 = self.2.with_tile_id(id);
|
self.2 = self.2.with_tile_id(id);
|
||||||
}
|
}
|
||||||
|
#[inline]
|
||||||
|
pub fn set_palbank(&mut self, palbank: u16) {
|
||||||
|
self.2 = self.2.with_palbank(palbank);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue