cleanup: fix all improper uses of MxResult ()

* cleanup: fix all improper uses of MxResult
This commit is contained in:
Ramen2X 2023-10-22 13:38:25 -04:00 committed by GitHub
parent 7e907cfe3f
commit 5ab993bfda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -25,5 +25,5 @@ MxResult Act2Brick::Tickle()
{
// TODO
return 0;
return SUCCESS;
}

View file

@ -27,7 +27,7 @@ MxResult LegoAnimationManager::Tickle()
{
// TODO
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x1005f130 STUB

View file

@ -16,5 +16,5 @@ LegoPathController::~LegoPathController()
MxResult LegoPathController::Tickle()
{
// TODO
return 0;
return SUCCESS;
}

View file

@ -16,7 +16,7 @@ MxDiskStreamController::~MxDiskStreamController()
MxResult MxDiskStreamController::Tickle()
{
// TODO
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100c7790 STUB

View file

@ -12,7 +12,7 @@ MxMediaPresenter::~MxMediaPresenter()
MxResult MxMediaPresenter::Tickle()
{
// TODO
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100b54e0

View file

@ -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;