diff --git a/src/apu.rs b/src/apu.rs index 7fa1474e5cf2a94647fce15a19a5fcf60a441c21..e2dc1f2c456232a18774f1ed07202b82cd2d3133 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 }