mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
affine starts at position 9
This commit is contained in:
parent
e8bc714d74
commit
be963611ce
|
@ -220,7 +220,7 @@ impl ObjectAttribute {
|
|||
}
|
||||
|
||||
fn set_affine(&mut self, aff_id: u8) {
|
||||
self.a1 = set_bits(self.a1, aff_id as u16, 5, 8);
|
||||
self.a1 = set_bits(self.a1, aff_id as u16, 5, 0x9);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue