mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Same as the last change but for Wii AX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4377 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -174,14 +174,17 @@ void CUCode_AXWii::MixAdd_(short* _pBuffer, int _iSize, ParamBlockType &PB)
|
||||
#endif
|
||||
|
||||
u32 blockAddr = m_addressPBs;
|
||||
|
||||
if (!blockAddr)
|
||||
return;
|
||||
for (int i = 0; i < NUMBER_OF_PBS; i++)
|
||||
{
|
||||
// read out pbs
|
||||
ReadOutPBWii(blockAddr, PB);
|
||||
if (!ReadOutPBWii(blockAddr, PB))
|
||||
break;
|
||||
ProcessUpdates(PB);
|
||||
MixAddVoice(PB, templbuffer, temprbuffer, _iSize, true);
|
||||
WriteBackPBWii(blockAddr, PB);
|
||||
if (!WriteBackPBWii(blockAddr, PB))
|
||||
break;
|
||||
|
||||
// next block
|
||||
blockAddr = (PB.next_pb_hi << 16) | PB.next_pb_lo;
|
||||
|
Reference in New Issue
Block a user