summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/sms_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/sms_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/sms_apu.c')
-rw-r--r--apps/codecs/libgme/sms_apu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/codecs/libgme/sms_apu.c b/apps/codecs/libgme/sms_apu.c
index 965e4836c4..379fcf1cbf 100644
--- a/apps/codecs/libgme/sms_apu.c
+++ b/apps/codecs/libgme/sms_apu.c
@@ -158,9 +158,7 @@ static void run_until( struct Sms_Apu* this, blip_time_t end_time )
158 if ( delta ) 158 if ( delta )
159 { 159 {
160 osc->last_amp = amp; 160 osc->last_amp = amp;
161 /* norm_synth.offset( last_time, delta, out ); */
162 Synth_offset( &this->synth, this->last_time, delta, out ); 161 Synth_offset( &this->synth, this->last_time, delta, out );
163 /* out->set_modified(); */
164 Blip_set_modified( out ); 162 Blip_set_modified( out );
165 } 163 }
166 } 164 }
@@ -200,7 +198,6 @@ static void run_until( struct Sms_Apu* this, blip_time_t end_time )
200 do 198 do
201 { 199 {
202 delta = -delta; 200 delta = -delta;
203 /* norm_synth.offset( time, delta, out ); */
204 Synth_offset( &this->synth, time, delta, out ); 201 Synth_offset( &this->synth, time, delta, out );
205 time += period; 202 time += period;
206 } 203 }
@@ -218,7 +215,6 @@ static void run_until( struct Sms_Apu* this, blip_time_t end_time )
218 if ( changed & 2 ) // true if bits 0 and 1 differ 215 if ( changed & 2 ) // true if bits 0 and 1 differ
219 { 216 {
220 delta = -delta; 217 delta = -delta;
221 /* fast_synth.offset_inline( time, delta, out ); */
222 Synth_offset_inline( &this->synth, time, delta, out ); 218 Synth_offset_inline( &this->synth, time, delta, out );
223 } 219 }
224 time += period; 220 time += period;