notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19954be
)
bugfix
author
notaz
<notasas@gmail.com>
Fri, 28 Aug 2009 21:20:19 +0000
(21:20 +0000)
committer
notaz
<notasas@gmail.com>
Fri, 28 Aug 2009 21:20:19 +0000
(21:20 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@765
be3aeb3a
-fb24-0410-a615-
afba39da0efa
pico/sound/sound.c
patch
|
blob
|
blame
|
history
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