diff --git a/src/ppu.rs b/src/ppu.rs index 559b56fa75b531a198dd13ce3c24dc8833c89abf..9e20dffeb1bfcdf3821973eb25e004381ca8201c 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -731,8 +731,8 @@ impl Ppu { // 0xFF6B — OCPD/OBPD (CGB only) 0xff6b => self.palettes_color[1][self.palette_address_obj as usize], // 0xFF6C — OPRI (CGB only) - - 0xff6c => { + 0xff6c => + { #[allow(clippy::bool_to_int_with_if)] if self.obj_priority { 0x01