mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 19:16:05 -05:00
Use MxResult for RealizePalette
This commit is contained in:
parent
e4f87ad7dd
commit
0580b2870c
2 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ void MxVideoManager::InvalidateRect(MxRect32 &p_rect)
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100bebe0
|
// OFFSET: LEGO1 0x100bebe0
|
||||||
MxLong MxVideoManager::RealizePalette(MxPalette *p_palette)
|
MxResult MxVideoManager::RealizePalette(MxPalette *p_palette)
|
||||||
{
|
{
|
||||||
PALETTEENTRY paletteEntries[256];
|
PALETTEENTRY paletteEntries[256];
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ MxLong MxVideoManager::RealizePalette(MxPalette *p_palette)
|
||||||
}
|
}
|
||||||
|
|
||||||
this->m_criticalSection.Leave();
|
this->m_criticalSection.Leave();
|
||||||
return 0;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100be600
|
// OFFSET: LEGO1 0x100be600
|
||||||
|
|
|
@ -28,7 +28,7 @@ class MxVideoManager : public MxMediaManager
|
||||||
virtual MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread); // vtable+0x2c
|
virtual MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread); // vtable+0x2c
|
||||||
|
|
||||||
__declspec(dllexport) void InvalidateRect(MxRect32 &);
|
__declspec(dllexport) void InvalidateRect(MxRect32 &);
|
||||||
__declspec(dllexport) virtual MxLong RealizePalette(MxPalette *); // vtable+0x30
|
__declspec(dllexport) virtual MxResult RealizePalette(MxPalette *); // vtable+0x30
|
||||||
|
|
||||||
MxVideoManager();
|
MxVideoManager();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue