mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
SPU: Fix activating transfer event with a downcount of 0
Happened when loading states.
This commit is contained in:
parent
2a6c06d4be
commit
223074b78f
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue