Some preparations for Wii AX (much work remains)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1101 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-11-09 16:19:30 +00:00
parent 530fb9ba3d
commit 860ffe9541
4 changed files with 341 additions and 295 deletions

View File

@ -141,8 +141,8 @@ int vectorLength2 = 100; // for console version
// should we worry about the additonal memory these lists require? bool will allocate
// very little memory
std::vector< std::vector<bool> > vector1(64, std::vector<bool>(vectorLength,0));
std::vector< std::vector<bool> > vector2(64, std::vector<bool>(vectorLength2,0));
std::vector< std::vector<bool> > vector1(64, std::vector<bool>(vectorLength, 0));
std::vector< std::vector<bool> > vector2(64, std::vector<bool>(vectorLength2, 0));
std::vector<int> numberRunning(64);
@ -301,12 +301,12 @@ void CUCode_AX::Logging(short* _pBuffer, int _iSize, int a)
}
else
{
Conditions = (numberRunning.at(i) > 0 || PBs[i].audio_addr.looping);
Conditions = numberRunning.at(i) > 0 || PBs[i].audio_addr.looping;
}
// --------------
if(Conditions)
if (Conditions)
{
// AXPB base
gcoef[i] = PBs[i].unknown1;