From 965a0ff100d933bb43f0792769cdee842111ab4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Sun, 18 Jun 2023 23:17:51 +0100
Subject: [PATCH] fix: small clippy issue

---
 src/ppu.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ppu.rs b/src/ppu.rs
index ff39c2bd..a82285a3 100644
--- a/src/ppu.rs
+++ b/src/ppu.rs
@@ -731,6 +731,7 @@ impl Ppu {
             // 0xFF6B — OCPD/OBPD (CGB only)
             0xff6b => self.palettes_color[1][self.palette_address_obj as usize],
             // 0xFF6C — OPRI (CGB only)
+            #[allow(clippy::bool_to_int_with_if)]
             0xff6c => if self.obj_priority { 0x01 } else { 0x00 },
             _ => {
                 warnln!("Reading from unknown PPU location 0x{:04x}", addr);
-- 
GitLab