From 7abf283be269fdef93cb85c44896e5a21d7208b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Thu, 18 May 2023 11:53:30 +0100 Subject: [PATCH] fix: format issue --- src/apu.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apu.rs b/src/apu.rs index 7fa1474e..e2dc1f2c 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -373,7 +373,8 @@ impl Apu { // 0xFF25 — NR51: Sound panning 0xff25 => self.glob_panning, // 0xFF26 — NR52: Sound on/off - 0xff26 => { + 0xff26 => + { #[allow(clippy::bool_to_int_with_if)] (if self.ch1_enabled { 0x01 } else { 0x00 } | if self.ch2_enabled { 0x02 } else { 0x00 } -- GitLab