summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/nes_vrc6_apu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/nes_vrc6_apu.c')
-rw-r--r--apps/codecs/libgme/nes_vrc6_apu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/nes_vrc6_apu.c b/apps/codecs/libgme/nes_vrc6_apu.c
index f712216424..55fccb7b0f 100644
--- a/apps/codecs/libgme/nes_vrc6_apu.c
+++ b/apps/codecs/libgme/nes_vrc6_apu.c
@@ -83,7 +83,6 @@ void run_square( struct Nes_Vrc6_Apu* this, struct Vrc6_Osc* osc, blip_time_t en
83 struct Blip_Buffer* output = osc->output; 83 struct Blip_Buffer* output = osc->output;
84 if ( !output ) 84 if ( !output )
85 return; 85 return;
86 Blip_set_modified( output );
87 86
88 int volume = osc->regs [0] & 15; 87 int volume = osc->regs [0] & 15;
89 if ( !(osc->regs [2] & 0x80) ) 88 if ( !(osc->regs [2] & 0x80) )
@@ -96,6 +95,7 @@ void run_square( struct Nes_Vrc6_Apu* this, struct Vrc6_Osc* osc, blip_time_t en
96 if ( delta ) 95 if ( delta )
97 { 96 {
98 osc->last_amp += delta; 97 osc->last_amp += delta;
98 Blip_set_modified( output );
99 Synth_offset( &this->square_synth, time, delta, output ); 99 Synth_offset( &this->square_synth, time, delta, output );
100 } 100 }
101 101