hehe
This commit is contained in:
parent
5cfe28a309
commit
62b7bced99
|
@ -291,7 +291,7 @@ impl Apu {
|
||||||
0xFF26 => self.apu_enable = (1 << 7) == (data & 0b10000000),
|
0xFF26 => self.apu_enable = (1 << 7) == (data & 0b10000000),
|
||||||
0xFF30..0xFF40 => self.channels.three.update_wave_ram(addr, data),
|
0xFF30..0xFF40 => self.channels.three.update_wave_ram(addr, data),
|
||||||
0xFF11..0xFF1A | 0xFF1D..0xFF23 | 0xFF24..0xFF30 => self.mem[reg(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"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue