Skip to content

Commit

Permalink
Fix typo + Numism APU Off Clear Coin
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Feb 16, 2024
1 parent 357f2fc commit 8f6c265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sound/ch1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl CH1 {
sweep_pace: 0,
negative_direction: false,
sweep_step: 0,
duty_cycle: DutyCycle::QUARTER,
duty_cycle: DutyCycle::EIGHTH,
length_timer: 0,
volume: 0,
positive_envelope: false,
Expand All @@ -43,7 +43,7 @@ impl CH1 {
self.sweep_pace = 0;
self.negative_direction = false;
self.sweep_step = 0;
self.duty_cycle = DutyCycle::QUARTER;
self.duty_cycle = DutyCycle::EIGHTH;
self.length_timer = 0;
self.volume = 0;
self.positive_envelope = false;
Expand Down
4 changes: 2 additions & 2 deletions src/sound/ch2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl CH2 {
pub fn new() -> Self {
Self {
dac_enabled: false,
duty_cycle: DutyCycle::QUARTER,
duty_cycle: DutyCycle::EIGHTH,
length_timer: 0,
volume: 0,
positive_envelope: false,
Expand All @@ -32,7 +32,7 @@ impl CH2 {

pub fn clear(&mut self) {
self.dac_enabled = false;
self.duty_cycle = DutyCycle::QUARTER;
self.duty_cycle = DutyCycle::EIGHTH;
self.length_timer = 0;
self.volume = 0;
self.positive_envelope = false;
Expand Down

0 comments on commit 8f6c265

Please sign in to comment.