mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-04-14 07:34:45 -04:00
cleanup: fix all improper uses of MxResult (#234)
* cleanup: fix all improper uses of MxResult
This commit is contained in:
parent
7e907cfe3f
commit
5ab993bfda
6 changed files with 7 additions and 7 deletions
|
@ -25,5 +25,5 @@ MxResult Act2Brick::Tickle()
|
|||
{
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ MxResult LegoAnimationManager::Tickle()
|
|||
{
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1005f130 STUB
|
||||
|
|
|
@ -16,5 +16,5 @@ LegoPathController::~LegoPathController()
|
|||
MxResult LegoPathController::Tickle()
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ MxDiskStreamController::~MxDiskStreamController()
|
|||
MxResult MxDiskStreamController::Tickle()
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c7790 STUB
|
||||
|
|
|
@ -12,7 +12,7 @@ MxMediaPresenter::~MxMediaPresenter()
|
|||
MxResult MxMediaPresenter::Tickle()
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b54e0
|
||||
|
|
|
@ -379,7 +379,7 @@ void MxPalette::Detach()
|
|||
MxResult MxPalette::SetEntries(LPPALETTEENTRY p_entries)
|
||||
{
|
||||
MxS32 i;
|
||||
MxResult status = 0;
|
||||
MxResult status = SUCCESS;
|
||||
|
||||
if ( this->m_palette )
|
||||
{
|
||||
|
@ -423,7 +423,7 @@ MxResult MxPalette::SetEntries(LPPALETTEENTRY p_entries)
|
|||
this->m_entries[i].peFlags = 0x80;
|
||||
|
||||
if ( this->m_palette->SetEntries(0, 0, 256, this->m_entries) )
|
||||
status = -1;
|
||||
status = FAILURE;
|
||||
}
|
||||
|
||||
return status;
|
||||
|
|
Loading…
Add table
Reference in a new issue