mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-21 06:42:02 +01:00
OK, removed the hack. Let's see how it works irl
This commit is contained in:
parent
1d29419840
commit
bc8ae7ea85
@ -129,9 +129,7 @@ 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
|
sample = (Buffer[i] & 0xffff);
|
||||||
* is needed */
|
|
||||||
sample = (Buffer[i] & 0xffff) + 8192;
|
|
||||||
dst[mixhead++] = sample | ( sample << 16);
|
dst[mixhead++] = sample | ( sample << 16);
|
||||||
if (mixhead == 4000)
|
if (mixhead == 4000)
|
||||||
mixhead = 0;
|
mixhead = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user