SI: Don't cancel transfers

This commit is contained in:
Bonta 2021-06-28 17:12:54 +02:00
parent 3e1a25ead0
commit aaea38be46

View File

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