1
0
Fork 0
mirror of https://github.com/isledecomp/isle.git synced 2025-03-21 20:30:06 -04:00

Match MxWavePresenter::DoneTickle ()

This commit is contained in:
Christian Semmler 2024-02-28 17:10:05 -05:00 committed by GitHub
parent f3f29e5536
commit dd1979154d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,8 @@ void MxWavePresenter::DoneTickle()
MxS8 playedChunks = dwCurrentPlayCursor / m_chunkLength;
if (m_action->GetFlags() & MxDSAction::c_bit7 || m_action->GetFlags() & MxDSAction::c_looping ||
m_writtenChunks != playedChunks || m_lockSize + (m_chunkLength * playedChunks) <= dwCurrentPlayCursor) {
(!(m_action->GetFlags() & MxDSAction::c_looping) &&
(m_writtenChunks != playedChunks || m_lockSize + (m_chunkLength * playedChunks) <= dwCurrentPlayCursor))) {
MxMediaPresenter::DoneTickle();
}
}