mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-28 16:55:31 +01:00
AXWii: fix L/R channels being swapped when outputting audio samples
This commit is contained in:
parent
5c3bcc8f5f
commit
fb64cfd18a
@ -330,8 +330,8 @@ void CUCode_AXWii::OutputSamples(u32 lr_addr, u32 surround_addr, u16 volume)
|
||||
|
||||
for (u32 i = 0; i < 3 * 32; ++i)
|
||||
{
|
||||
buffer[2 * i] = Common::swap16(m_samples_left[i]);
|
||||
buffer[2 * i + 1] = Common::swap16(m_samples_right[i]);
|
||||
buffer[2 * i] = Common::swap16(m_samples_right[i]);
|
||||
buffer[2 * i + 1] = Common::swap16(m_samples_left[i]);
|
||||
}
|
||||
|
||||
memcpy(HLEMemory_Get_Pointer(lr_addr), buffer, sizeof (buffer));
|
||||
|
Loading…
x
Reference in New Issue
Block a user