From 3928e4f10912344dda1728d906df5b2ffd764edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Mon, 27 Feb 2023 09:43:48 +0000 Subject: [PATCH] fix: small comment issue --- src/apu.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/apu.rs b/src/apu.rs index d83dca5a..09b6e681 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -52,6 +52,10 @@ impl Apu { pub fn clock(&mut self, cycles: u8) { // @todo implement the clock and allow for the proper // writing of the output buffer at a fixed frequency + + + + } pub fn read(&mut self, addr: u16) -> u8 { @@ -66,7 +70,7 @@ impl Apu { pub fn write(&mut self, addr: u16, value: u8) { match addr { - // 0xFF10 — NR10: Channel 1 length timer & duty cycle + // 0xFF10 — NR10: Channel 1 sweep 0xff10 => { self.ch1_sweep_slope = value & 0x03; self.ch1_sweep_increase = value & 0x04 == 0x04; -- GitLab