mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Match MxWavePresenter::DoneTickle (#604)
This commit is contained in:
parent
f3f29e5536
commit
dd1979154d
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ void MxWavePresenter::DoneTickle()
|
||||||
|
|
||||||
MxS8 playedChunks = dwCurrentPlayCursor / m_chunkLength;
|
MxS8 playedChunks = dwCurrentPlayCursor / m_chunkLength;
|
||||||
if (m_action->GetFlags() & MxDSAction::c_bit7 || m_action->GetFlags() & MxDSAction::c_looping ||
|
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();
|
MxMediaPresenter::DoneTickle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue