DMA: Delay GPU transfers by block count

Needs real GPU timings, but fixes NFS5 in the meantime.
This commit is contained in:
Connor McLaughlin
2019-12-29 15:34:05 +10:00
parent 41cf894488
commit 0639f4264f
2 changed files with 9 additions and 1 deletions

View File

@ -197,6 +197,15 @@ TickCount DMA::GetTransferDelay(Channel channel) const
}
break;
case Channel::GPU:
{
if (cs.channel_control.sync_mode == SyncMode::Request)
return cs.block_control.request.GetBlockCount();
else
return 1;
}
break;
default:
return 1;
}