mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 19:39:24 +01:00
Comment and warning
This commit is contained in:
parent
3f0e81b274
commit
ec78d92547
@ -129,6 +129,8 @@ void PlaySound( int16_t *Buffer, int count )
|
|||||||
level = IRQ_Disable();
|
level = IRQ_Disable();
|
||||||
for( i = 0; i < count; i++ )
|
for( i = 0; i < count; i++ )
|
||||||
{
|
{
|
||||||
|
/* FIXME simonk: 8192 is a Frodo artifact. Not sure why this
|
||||||
|
* is needed */
|
||||||
sample = (Buffer[i] & 0xffff) + 8192;
|
sample = (Buffer[i] & 0xffff) + 8192;
|
||||||
dst[mixhead++] = sample | ( sample << 16);
|
dst[mixhead++] = sample | ( sample << 16);
|
||||||
if (mixhead == 4000)
|
if (mixhead == 4000)
|
||||||
|
Loading…
Reference in New Issue
Block a user