From 6ed522d3b465d55f9dcdc02e2f4ec190ccd76021 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:24:09 +0000 Subject: [PATCH] docs: small comment change --- src/apu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apu.rs b/src/apu.rs index 41855e71..d83dca5a 100644 --- a/src/apu.rs +++ b/src/apu.rs @@ -111,7 +111,7 @@ impl Apu { 0xff18 => { self.ch2_wave_length = (self.ch2_wave_length & 0xff00) | value as u16; } - // 0xFF19 — NR24: Channel 1 wavelength high & control + // 0xFF19 — NR24: Channel 2 wavelength high & control 0xff19 => { self.ch2_wave_length = (self.ch2_wave_length & 0x00ff) | (((value & 0x07) as u16) << 8); -- GitLab