summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/nes_vrc6_apu.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-31 19:19:49 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-31 19:19:49 +0000
commit13cbade08a07296d92e7a7d3e20475de0032cba1 (patch)
tree731a1a4a99d86632a719ae49e3b3d2a12e764a3a /apps/codecs/libgme/nes_vrc6_apu.c
parentd089e104034fdf5562bea125d2cacf4ee486782a (diff)
downloadrockbox-13cbade08a07296d92e7a7d3e20475de0032cba1.tar.gz
rockbox-13cbade08a07296d92e7a7d3e20475de0032cba1.zip
Update libgme to Blargg's Game_Music_Emu 0.6-pre.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30397 a1c6a512-1295-4272-9138-f99709370657
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