Skip to content
Snippets Groups Projects
Verified Commit efb28618 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: parenthesis issue

parent 8d5d7c21
No related branches found
No related tags found
1 merge request!26Make dmg-audio tests pass
Pipeline #2902 passed
......@@ -353,7 +353,7 @@ impl Apu {
// 0xFF15 — Not used
0xff15 => 0xff,
// 0xFF16 — NR21: Channel 2 length timer & duty cycle
0xff16 => (self.ch2_wave_duty & 0x03) << 6 | 0x3f,
0xff16 => ((self.ch2_wave_duty & 0x03) << 6) | 0x3f,
// 0xFF17 — NR22: Channel 2 volume & envelope
0xff17 => {
(self.ch2_pace & 0x07)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment