mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
bugfix
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@765 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
19954be196
commit
8a19f430a5
1 changed files with 2 additions and 2 deletions
|
@ -416,8 +416,8 @@ PICO_INTERNAL void PsndGetSamplesMS(void)
|
||||||
|
|
||||||
// upmix to "stereo" if needed
|
// upmix to "stereo" if needed
|
||||||
if (stereo) {
|
if (stereo) {
|
||||||
int i = length, *p = (void *)PsndOut;
|
int i, *p;
|
||||||
while (i--)
|
for (i = length, p = (void *)PsndOut; i > 0; i--, p++)
|
||||||
*p |= *p << 16;
|
*p |= *p << 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue