SPU2-X: Add the alignment check to console logging.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5400 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-09-02 22:20:18 +00:00
parent d4e4abfe82
commit 2e1b138219
1 changed files with 11 additions and 11 deletions

View File

@ -196,20 +196,20 @@ void V_Core::PlainDMAWrite(u16 *pMem, u32 size)
// Not really important. Everything should work regardless, // Not really important. Everything should work regardless,
// but it could be indicative of an emulation foopah elsewhere. // but it could be indicative of an emulation foopah elsewhere.
#if 0 if(MsgToConsole()) {
uptr pa = ((uptr)pMem)&7; uptr pa = ((uptr)pMem)&7;
uptr pm = TSA&0x7; uptr pm = TSA&0x7;
if( pa ) if( pa )
{ {
fprintf(stderr, "* SPU2 DMA Write > Missaligned SOURCE! Core: %d TSA: 0x%x TDA: 0x%x Size: 0x%x\n", core, TSA, TDA, size); ConLog("* SPU2 DMA Write > Missaligned SOURCE! Core: %d TSA: 0x%x TDA: 0x%x Size: 0x%x\n", Index, TSA, TDA, size);
} }
if( pm ) if( pm )
{ {
fprintf(stderr, "* SPU2 DMA Write > Missaligned TARGET! Core: %d TSA: 0x%x TDA: 0x%x Size: 0x%x\n", core, TSA, TDA, size ); ConLog("* SPU2 DMA Write > Missaligned TARGET! Core: %d TSA: 0x%x TDA: 0x%x Size: 0x%x\n", Index, TSA, TDA, size );
}
} }
#endif
if(Index==0) if(Index==0)
DMA4LogWrite(pMem,size<<1); DMA4LogWrite(pMem,size<<1);