mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 06:15:41 -04: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
|
// transfer event copies from fifo to ram
|
||||||
if (m_transfer_fifo.IsEmpty())
|
if (m_transfer_fifo.IsEmpty())
|
||||||
m_transfer_event->Deactivate();
|
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)));
|
m_transfer_event->Schedule(TickCount(m_transfer_fifo.GetSize() * u32(TRANSFER_TICKS_PER_HALFWORD)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user