Added separate log for DSP LLE.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
1156a0df9e
commit
e3e7c88ff1
15 files changed
+58
-56
No files matched your search
@@ -29,8 +29,8 @@ extern u32 m_addressPBs;
|
||||
bool AXTask(u32& _uMail)
|
||||
{
|
||||
u32 uAddress = _uMail;
|
||||
DEBUG_LOG(DSPHLE, "AXTask - ================================================================");
|
||||
DEBUG_LOG(DSPHLE, "AXTask - AXCommandList-Addr: 0x%08x", uAddress);
|
||||
DEBUG_LOG(DSPLLE, "AXTask - ================================================================");
|
||||
DEBUG_LOG(DSPLLE, "AXTask - AXCommandList-Addr: 0x%08x", uAddress);
|
||||
|
||||
bool bExecuteList = true;
|
||||
|
||||
@@ -46,7 +46,7 @@ bool AXTask(u32& _uMail)
|
||||
case 0: // AXLIST_STUDIOADDR: //00
|
||||
{
|
||||
uAddress += 4;
|
||||
DEBUG_LOG(DSPHLE, "AXLIST AXLIST_SBUFFER: %08x", uAddress);
|
||||
DEBUG_LOG(DSPLLE, "AXLIST AXLIST_SBUFFER: %08x", uAddress);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -55,7 +55,7 @@ bool AXTask(u32& _uMail)
|
||||
{
|
||||
m_addressPBs = Memory_Read_U32(uAddress);
|
||||
uAddress += 4;
|
||||
DEBUG_LOG(DSPHLE, "AXLIST PB address: %08x", m_addressPBs);
|
||||
DEBUG_LOG(DSPLLE, "AXLIST PB address: %08x", m_addressPBs);
|
||||
bExecuteList = false;
|
||||
}
|
||||
break;
|
||||
@@ -64,7 +64,7 @@ bool AXTask(u32& _uMail)
|
||||
{
|
||||
// Hopefully this is where in main ram to write.
|
||||
uAddress += 4;
|
||||
DEBUG_LOG(DSPHLE, "AXLIST AXLIST_SBUFFER: %08x", uAddress);
|
||||
DEBUG_LOG(DSPLLE, "AXLIST AXLIST_SBUFFER: %08x", uAddress);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -73,15 +73,15 @@ bool AXTask(u32& _uMail)
|
||||
default:
|
||||
{
|
||||
// Stop the execution of this TaskList
|
||||
DEBUG_LOG(DSPHLE, "AXLIST default: %08x", uAddress);
|
||||
DEBUG_LOG(DSPLLE, "AXLIST default: %08x", uAddress);
|
||||
bExecuteList = false;
|
||||
}
|
||||
break;
|
||||
} // end of switch
|
||||
}
|
||||
|
||||
DEBUG_LOG(DSPHLE, "AXTask - done, send resume");
|
||||
DEBUG_LOG(DSPHLE, "AXTask - ================================================================");
|
||||
DEBUG_LOG(DSPLLE, "AXTask - done, send resume");
|
||||
DEBUG_LOG(DSPLLE, "AXTask - ================================================================");
|
||||
|
||||
// now resume
|
||||
return true;
|
||||
|
||||
@@ -318,7 +318,7 @@ void Logging()
|
||||
|
||||
// Print
|
||||
|
||||
INFO_LOG(DSPHLE, "%s", sbuff.c_str());
|
||||
INFO_LOG(DSPLLE, "%s", sbuff.c_str());
|
||||
sbuff.clear(); strcpy(buffer, "");
|
||||
// ---------------
|
||||
k=0;
|
||||
|
||||
@@ -62,7 +62,7 @@ int ReadOutPBs(AXParamBlock * _pPBs, int _num)
|
||||
// Create a shortcut that let us update struct members
|
||||
short * pDest = (short *) & _pPBs[i];
|
||||
|
||||
if (n > 20 && logall) {DEBUG_LOG(DSPHLE, "%c%i:", 223, i);} // logging
|
||||
if (n > 20 && logall) {DEBUG_LOG(DSPLLE, "%c%i:", 223, i);} // logging
|
||||
|
||||
// Here we update the PB. We do it by going through all 192 / 2 = 96 u16 values
|
||||
for (size_t p = 0; p < sizeof(AXParamBlock) / 2; p++)
|
||||
@@ -73,7 +73,7 @@ int ReadOutPBs(AXParamBlock * _pPBs, int _num)
|
||||
{
|
||||
if (pSrc[p] != 0 && n > 20 && logall)
|
||||
{
|
||||
DEBUG_LOG(DSPHLE, "%i %04x | ", p, Common::swap16(pSrc[p]));
|
||||
DEBUG_LOG(DSPLLE, "%i %04x | ", p, Common::swap16(pSrc[p]));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ int ReadOutPBs(AXParamBlock * _pPBs, int _num)
|
||||
|
||||
}
|
||||
|
||||
if(n > 20 && logall) {DEBUG_LOG(DSPHLE, "\n");} // logging
|
||||
if(n > 20 && logall) {DEBUG_LOG(DSPLLE, "\n");} // logging
|
||||
// Here we update the block address to the starting point of the next PB
|
||||
blockAddr = (_pPBs[i].next_pb_hi << 16) | _pPBs[i].next_pb_lo;
|
||||
// save some values
|
||||
|
||||
Reference in new issue
Block a user