affine starts at position 9

This commit is contained in:
Corwin Kuiper 2021-06-05 22:41:34 +01:00
parent e8bc714d74
commit be963611ce

View file

@ -220,7 +220,7 @@ impl ObjectAttribute {
} }
fn set_affine(&mut self, aff_id: u8) { 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);
} }
} }