From 62b7bced99d5a14aca27c592b330f4ab9ba1edbb Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 20 Feb 2023 10:03:34 +1100 Subject: [PATCH] hehe --- src/processor/memory/mmio/apu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/memory/mmio/apu.rs b/src/processor/memory/mmio/apu.rs index b2761c7..639c614 100644 --- a/src/processor/memory/mmio/apu.rs +++ b/src/processor/memory/mmio/apu.rs @@ -291,7 +291,7 @@ impl Apu { 0xFF26 => self.apu_enable = (1 << 7) == (data & 0b10000000), 0xFF30..0xFF40 => self.channels.three.update_wave_ram(addr, data), 0xFF11..0xFF1A | 0xFF1D..0xFF23 | 0xFF24..0xFF30 => self.mem[reg(addr)] = data, - 0x0..0xFF10 | 0xFF40..0xFFFF | 0xFFFF => panic!("non-apu addr in apu"), + 0x0..0xFF10 | 0xFF40..=0xFFFF => panic!("non-apu addr in apu"), } }