diff options
| author | JMC47 <JMC4789@gmail.com> | 2021-06-29 22:00:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 22:00:13 -0400 |
| commit | 6042df71d934b0efa9dcb64f47e77a02a1e3cb96 (patch) | |
| tree | 6c704ff8b82c1fc4327aea0be4b5a61e3f42e064 /Source/Core | |
| parent | 04a1c2e1b2d6171bb6dd4c13138d4a4f4a3a9134 (diff) | |
| parent | aaea38be46b4c00f0dd6e94455643686fd7f83f3 (diff) | |
Merge pull request #9853 from Bonta0/sinocancel
SI: Don't cancel transfer with TSTART=0
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/SI/SI.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Core/HW/SI/SI.cpp b/Source/Core/Core/HW/SI/SI.cpp index d271158740..4a6d330651 100644 --- a/Source/Core/Core/HW/SI/SI.cpp +++ b/Source/Core/Core/HW/SI/SI.cpp @@ -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(); |
