Oops, fixed mistake

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1114 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2008-11-10 21:48:15 +00:00
parent 0f4b41d5ea
commit c26920efb6
2 changed files with 3 additions and 6 deletions

View File

@ -312,11 +312,8 @@ template<class ParamBlockType> void CollectPB(bool Wii, int i, ParamBlockType &P
gmixer_vol6[i] = PBs[i].mixer.unknown3[2];
gmixer_vol7[i] = PBs[i].mixer.unknown3[4];
//gmixer_d1[i] = PBs[i].mixer.unknown4[1];
gmixer_d1[i] = PBs[i].next_pb_lo;
gmixer_d2[i] = PBs[i].next_pb_hi;
//gmixer_d2[i] = PBs[i].mixer.unknown4[3];
gmixer_d1[i] = PBs[i].mixer.unknown4[1];
gmixer_d2[i] = PBs[i].mixer.unknown4[3];
gmixer_d3[i] = PBs[i].mixer.unknown4[5];
gmixer_d4[i] = PBs[i].mixer.unknown4[7];
gmixer_d5[i] = PBs[i].mixer.unknown4[1];

View File

@ -85,7 +85,7 @@ int ReadOutPBsWii(u32 pbs_address, AXParamBlockWii* _pPBs, int _num)
pAddr = blockAddr;
// Detect the last mail by checking when next_pb = 0
u32 next_pb = (Common::swap16(pSrc[160]) << 16 | Common::swap16(pSrc[161]));
u32 next_pb = (Common::swap16(pSrc[0]) << 16 | Common::swap16(pSrc[1]));
if (pSrc != NULL && next_pb > 0)
{
short *pDest = (short *)&_pPBs[i];