Merge pull request #9853 from Bonta0/sinocancel

SI: Don't cancel transfer with TSTART=0
This commit is contained in:
JMC47 2021-06-29 22:00:13 -04:00 committed by GitHub
commit 6042df71d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,13 +511,11 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
// be careful: run si-buffer after updating the INT flags
if (tmp_com_csr.TSTART)
{
if (s_com_csr.TSTART)
CoreTiming::RemoveEvent(s_tranfer_pending_event);
s_com_csr.TSTART = 1;
RunSIBuffer(0, 0);
}
else if (s_com_csr.TSTART)
{
CoreTiming::RemoveEvent(s_tranfer_pending_event);
}
if (!s_com_csr.TSTART)
UpdateInterrupts();