mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
style/spacing
This commit is contained in:
parent
4ef95a1fbe
commit
eac8a13aa4
@ -75,10 +75,12 @@ void LegoLoadCacheSoundPresenter::DoneTickle()
|
|||||||
MxResult LegoLoadCacheSoundPresenter::PutData()
|
MxResult LegoLoadCacheSoundPresenter::PutData()
|
||||||
{
|
{
|
||||||
m_criticalSection.Enter();
|
m_criticalSection.Enter();
|
||||||
|
|
||||||
if (m_currentTickleState == e_done) {
|
if (m_currentTickleState == e_done) {
|
||||||
m_cacheSound = SoundManager()->GetUnknown0x40()->FUN_1003d290(m_cacheSound);
|
m_cacheSound = SoundManager()->GetUnknown0x40()->FUN_1003d290(m_cacheSound);
|
||||||
m_unk0x7c = 1;
|
m_unk0x7c = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_criticalSection.Leave();
|
m_criticalSection.Leave();
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -118,7 +118,8 @@ MxResult LegoTexturePresenter::Store()
|
|||||||
MxResult LegoTexturePresenter::PutData()
|
MxResult LegoTexturePresenter::PutData()
|
||||||
{
|
{
|
||||||
MxResult result = SUCCESS;
|
MxResult result = SUCCESS;
|
||||||
if (MxPresenter::IsEnabled() && m_currentChunk) {
|
|
||||||
|
if (MxPresenter::IsEnabled() && m_currentChunk != NULL) {
|
||||||
result = Read(*m_currentChunk);
|
result = Read(*m_currentChunk);
|
||||||
if (result == SUCCESS) {
|
if (result == SUCCESS) {
|
||||||
Store();
|
Store();
|
||||||
@ -129,6 +130,7 @@ MxResult LegoTexturePresenter::PutData()
|
|||||||
}
|
}
|
||||||
m_currentChunk = NULL;
|
m_currentChunk = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user