MMU : forgot mask while factoring

This commit is contained in:
damdoum 2007-02-15 16:01:17 +00:00
parent 0013777236
commit fe3325e42d
1 changed files with 5 additions and 6 deletions

View File

@ -2648,14 +2648,14 @@ void FASTCALL MMU_doDMA(u32 proc, u32 num)
int u=(MMU.DMACrt[proc][num]>>21);
switch(u & 0x3) {
case 0 : dstinc = sz; break;
case 1 : dstinc = 0; break;
case 2 : dstinc = -sz; break;
case 1 : dstinc = -sz; break;
case 2 : dstinc = 0; break;
case 3 : dstinc = sz; break; //reload
}
switch(u >> 2) {
switch((u >> 2)&0x3) {
case 0 : srcinc = sz; break;
case 1 : srcinc = 0; break;
case 2 : srcinc = -sz; break;
case 1 : srcinc = -sz; break;
case 2 : srcinc = 0; break;
case 3 : // reserved
return;
}
@ -2739,4 +2739,3 @@ void FASTCALL MMU_write32_acl(u32 proc, u32 adr, u32 val)
}
#endif