mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-28 19:04:06 +00:00
implement misc presenter functions (#695)
* implement misc presenter functions * style/spacing --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -114,11 +114,24 @@ MxResult LegoTexturePresenter::Store()
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1004fc60
|
||||
// FUNCTION: LEGO1 0x1004fc60
|
||||
MxResult LegoTexturePresenter::PutData()
|
||||
{
|
||||
// TODO
|
||||
return FAILURE;
|
||||
MxResult result = SUCCESS;
|
||||
|
||||
if (MxPresenter::IsEnabled() && m_currentChunk != NULL) {
|
||||
result = Read(*m_currentChunk);
|
||||
if (result == SUCCESS) {
|
||||
Store();
|
||||
}
|
||||
|
||||
if (m_currentTickleState == e_streaming) {
|
||||
m_subscriber->FreeDataChunk(m_currentChunk);
|
||||
}
|
||||
m_currentChunk = NULL;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1004fcb0
|
||||
|
||||
Reference in New Issue
Block a user