notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugfix
[picodrive.git]
/
pico
/
sound
/
sound.c
diff --git
a/pico/sound/sound.c
b/pico/sound/sound.c
index
a7510db
..
b1204e2
100644
(file)
--- a/
pico/sound/sound.c
+++ b/
pico/sound/sound.c
@@
-416,8
+416,8
@@
PICO_INTERNAL void PsndGetSamplesMS(void)
\r
// upmix to "stereo" if needed
\r
if (stereo) {
\r
- int i
= length, *p = (void *)PsndOut
;
\r
-
while (i--
)
\r
+ int i
, *p
;
\r
+
for (i = length, p = (void *)PsndOut; i > 0; i--, p++
)
\r
*p |= *p << 16;
\r
}
\r
\r