diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2013-01-20 07:36:48 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2013-01-20 07:36:48 +0100 |
| commit | fb64cfd18ad855abb03896a14d52bb832db082b5 (patch) | |
| tree | 8be3ae2d898d0f18ad8ea44f6e838e579c74af07 /Source | |
| parent | 5c3bcc8f5ff4fbf7d1b10fd669e83296a98dab28 (diff) | |
AXWii: fix L/R channels being swapped when outputting audio samples
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp index 8c74c7a1e7..8aec99d700 100644 --- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp +++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp @@ -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)); |
