SPU: Fix activating transfer event with a downcount of 0

Happened when loading states.
This commit is contained in:
Connor McLaughlin 2020-08-09 04:29:40 +10:00
parent 2a6c06d4be
commit 223074b78f

View file

@ -905,7 +905,7 @@ void SPU::UpdateTransferEvent()
// transfer event copies from fifo to ram
if (m_transfer_fifo.IsEmpty())
m_transfer_event->Deactivate();
if (!m_transfer_event->IsActive())
else if (!m_transfer_event->IsActive())
m_transfer_event->Schedule(TickCount(m_transfer_fifo.GetSize() * u32(TRANSFER_TICKS_PER_HALFWORD)));
}