Use MxResult for RealizePalette

This commit is contained in:
Christian Semmler 2023-10-14 15:31:30 -04:00
parent e4f87ad7dd
commit 0580b2870c
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C
2 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ void MxVideoManager::InvalidateRect(MxRect32 &p_rect)
}
// OFFSET: LEGO1 0x100bebe0
MxLong MxVideoManager::RealizePalette(MxPalette *p_palette)
MxResult MxVideoManager::RealizePalette(MxPalette *p_palette)
{
PALETTEENTRY paletteEntries[256];
@ -152,7 +152,7 @@ MxLong MxVideoManager::RealizePalette(MxPalette *p_palette)
}
this->m_criticalSection.Leave();
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100be600

View file

@ -28,7 +28,7 @@ class MxVideoManager : public MxMediaManager
virtual MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread); // vtable+0x2c
__declspec(dllexport) void InvalidateRect(MxRect32 &);
__declspec(dllexport) virtual MxLong RealizePalette(MxPalette *); // vtable+0x30
__declspec(dllexport) virtual MxResult RealizePalette(MxPalette *); // vtable+0x30
MxVideoManager();