diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-10-05 21:03:56 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-10-05 21:03:56 +0000 |
commit | 1d7912955b3abc434d9d0e6aa73b2c142df9f0b8 (patch) | |
tree | 1c1bbc6a750e4cd25e81519850e97d758cce63e0 /apps/plugins | |
parent | 44f3706b29ee7fd8416ee74ce9947b063ff1f05a (diff) |
Get rid of unnecessary memory acesses in a loop, gives slight speedup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14996 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index d6cb15190e..c557433dce 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c @@ -150,7 +150,7 @@ static inline void synthbuf(void) { int32_t *outptr; register int i; - static int currentSample=0; + int currentSample=0; int synthtemp[2]; #ifndef SYNC |