mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:55:46 -04:00
SPU: Fix activating transfer event with a downcount of 0
Happened when loading states.
This commit is contained in:
@ -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)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user