dmac: madr msb bit is fixed to 0 in 8/9 channels

Fix another dmac tests :)
This commit is contained in:
Gregory Hainaut 2016-01-28 21:16:20 +01:00
parent b2fbbddfa0
commit 5efbf2a802
1 changed files with 14 additions and 0 deletions

View File

@ -374,6 +374,20 @@ __fi bool dmacWrite32( u32 mem, mem32_t& value )
return false;
}
icase(fromSPR_MADR)
{
// SPR bit is fixed at 0 for this channel
psHu32(mem) = value & 0x7FFFFFFF;
return false;
}
icase(toSPR_MADR)
{
// SPR bit is fixed at 0 for this channel
psHu32(mem) = value & 0x7FFFFFFF;
return false;
}
icase(fromSPR_SADR)
{
// Address must be QW aligned and fit in the 16K range of SPR