mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-25 10:48:40 +00:00
AXWii: fix L/R channels being swapped when outputting audio samples
This commit is contained in:
parent
5c3bcc8f5f
commit
fb64cfd18a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue