Return type of PutData is MxResult (#305)

* Return type of PutData is MxResult

* Remove out.html
This commit is contained in:
Christian Semmler 2023-11-26 09:03:40 -05:00 committed by GitHub
parent 2fa70d233f
commit 10062d2b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 18 additions and 18 deletions

View file

@ -88,7 +88,7 @@ void MxEventPresenter::StartingTickle()
}
// OFFSET: LEGO1 0x100c2ef0
undefined4 MxEventPresenter::PutData()
MxResult MxEventPresenter::PutData()
{
MxAutoLocker lock(&m_criticalSection);
@ -113,5 +113,5 @@ undefined4 MxEventPresenter::PutData()
}
}
return 0;
return SUCCESS;
}

View file

@ -28,7 +28,7 @@ class MxEventPresenter : public MxMediaPresenter {
virtual void StartingTickle() override; // vtable+0x1c
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
virtual undefined4 PutData() override; // vtable+0x4c
virtual MxResult PutData() override; // vtable+0x4c
virtual void CopyData(MxStreamChunk* p_chunk); // vtable+0x5c
private:

View file

@ -45,7 +45,7 @@ void MxLoopingMIDIPresenter::DoneTickle()
}
// OFFSET: LEGO1 0x100c2b00
undefined4 MxLoopingMIDIPresenter::PutData()
MxResult MxLoopingMIDIPresenter::PutData()
{
m_criticalSection.Enter();
@ -55,5 +55,5 @@ undefined4 MxLoopingMIDIPresenter::PutData()
}
m_criticalSection.Leave();
return 0;
return SUCCESS;
}

View file

@ -20,7 +20,7 @@ class MxLoopingMIDIPresenter : public MxMIDIPresenter {
virtual void StreamingTickle() override; // vtable+0x20
virtual void DoneTickle() override; // vtable+0x2c
virtual undefined4 PutData() override; // vtable+0x4c
virtual MxResult PutData() override; // vtable+0x4c
};
#endif // MXLOOPINGMIDIPRESENTER_H

View file

@ -94,7 +94,7 @@ void MxMIDIPresenter::Destroy()
}
// OFFSET: LEGO1 0x100c2970
undefined4 MxMIDIPresenter::PutData()
MxResult MxMIDIPresenter::PutData()
{
m_criticalSection.Enter();
@ -106,7 +106,7 @@ undefined4 MxMIDIPresenter::PutData()
}
m_criticalSection.Leave();
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100c29e0

View file

@ -30,7 +30,7 @@ class MxMIDIPresenter : public MxMusicPresenter {
virtual void DoneTickle() override; // vtable+0x2c
virtual void Destroy() override; // vtable+0x38
virtual void EndAction() override; // vtable+0x40
virtual undefined4 PutData() override; // vtable+0x4c
virtual MxResult PutData() override; // vtable+0x4c
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60
private:

View file

@ -96,9 +96,9 @@ MxBool MxPresenter::HasTickleStatePassed(TickleState p_tickleState)
}
// OFFSET: LEGO1 0x1000bfc0
undefined4 MxPresenter::PutData()
MxResult MxPresenter::PutData()
{
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x1000bfd0

View file

@ -61,7 +61,7 @@ class MxPresenter : public MxCore {
__declspec(dllexport) virtual void EndAction(); // vtable+0x40
virtual void SetTickleState(TickleState p_tickleState); // vtable+0x44
virtual MxBool HasTickleStatePassed(TickleState p_tickleState); // vtable+0x48
virtual undefined4 PutData(); // vtable+0x4c
virtual MxResult PutData(); // vtable+0x4c
virtual MxBool IsHit(MxS32 p_x, MxS32 p_y); // vtable+0x50
__declspec(dllexport) virtual void Enable(MxBool p_enable); // vtable+0x54

View file

@ -477,14 +477,14 @@ void MxVideoPresenter::EndAction()
}
// OFFSET: LEGO1 0x100b3280
undefined4 MxVideoPresenter::PutData()
MxResult MxVideoPresenter::PutData()
{
MxAutoLocker lock(&m_criticalSection);
if (IsEnabled() && m_currentTickleState >= TickleState_Streaming && m_currentTickleState <= TickleState_unk5)
VTable0x6c();
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100b3300

View file

@ -41,7 +41,7 @@ class MxVideoPresenter : public MxMediaPresenter {
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
virtual void EndAction() override; // vtable+0x40
virtual undefined4 PutData() override; // vtable+0x4c
virtual MxResult PutData() override; // vtable+0x4c
virtual MxBool IsHit(MxS32 p_x, MxS32 p_y) override; // vtable+0x50
virtual void LoadHeader(MxStreamChunk* p_chunk); // vtable+0x5c
virtual void CreateBitmap(); // vtable+0x60

View file

@ -245,7 +245,7 @@ void MxWavePresenter::AppendChunk(MxStreamChunk* p_chunk)
}
// OFFSET: LEGO1 0x100b2160
undefined4 MxWavePresenter::PutData()
MxResult MxWavePresenter::PutData()
{
MxAutoLocker lock(&m_criticalSection);
@ -276,7 +276,7 @@ undefined4 MxWavePresenter::PutData()
}
}
return 0;
return SUCCESS;
}
// OFFSET: LEGO1 0x100b2280

View file

@ -34,7 +34,7 @@ class MxWavePresenter : public MxSoundPresenter {
virtual MxResult AddToManager() override; // vtable+0x34
virtual void Destroy() override; // vtable+0x38
virtual void EndAction() override; // vtable+0x40
virtual undefined4 PutData() override; // vtable+0x4c
virtual MxResult PutData() override; // vtable+0x4c
virtual void Enable(MxBool p_enable) override; // vtable+0x54
virtual void AppendChunk(MxStreamChunk* p_chunk) override; // vtable+0x58
virtual void SetVolume(MxS32 p_volume) override; // vtable+0x60