mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
MxDiskStreamProvider constructor
This commit is contained in:
parent
4bd67e4ae1
commit
3fd6130ac4
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#include "mxthread.h"
|
#include "mxthread.h"
|
||||||
|
|
||||||
|
DECOMP_SIZE_ASSERT(MxDiskStreamProvider, 0x60);
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100d0f30
|
// OFFSET: LEGO1 0x100d0f30
|
||||||
MxResult MxDiskStreamProviderThread::Run()
|
MxResult MxDiskStreamProviderThread::Run()
|
||||||
{
|
{
|
||||||
@ -15,7 +17,11 @@ MxResult MxDiskStreamProviderThread::Run()
|
|||||||
// OFFSET: LEGO1 0x100d0f70
|
// OFFSET: LEGO1 0x100d0f70
|
||||||
MxDiskStreamProvider::MxDiskStreamProvider()
|
MxDiskStreamProvider::MxDiskStreamProvider()
|
||||||
{
|
{
|
||||||
// TODO
|
this->m_unk54 = NULL;
|
||||||
|
this->m_unk4 = malloc(0xc);
|
||||||
|
this->m_unk5 = NULL;
|
||||||
|
this->m_remainingWork = 0;
|
||||||
|
this->m_unk1 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100d1240
|
// OFFSET: LEGO1 0x100d1240
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
#ifndef MXDISKSTREAMPROVIDER_H
|
#ifndef MXDISKSTREAMPROVIDER_H
|
||||||
#define MXDISKSTREAMPROVIDER_H
|
#define MXDISKSTREAMPROVIDER_H
|
||||||
|
|
||||||
|
#include "decomp.h"
|
||||||
#include "mxstreamprovider.h"
|
#include "mxstreamprovider.h"
|
||||||
#include "mxthread.h"
|
#include "mxthread.h"
|
||||||
#include "mxcriticalsection.h"
|
#include "mxcriticalsection.h"
|
||||||
@ -48,14 +49,16 @@ class MxDiskStreamProvider : public MxStreamProvider
|
|||||||
void PerformWork();
|
void PerformWork();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxDiskStreamProviderThread m_thread;
|
MxDiskStreamProviderThread m_thread; // 0x10
|
||||||
MxSemaphore m_busySemaphore;
|
MxSemaphore m_busySemaphore; // 0x2c
|
||||||
byte m_remainingWork;
|
byte m_remainingWork; // 0x34
|
||||||
byte m_unk1;
|
byte m_unk1; // 0x35
|
||||||
MxCriticalSection m_criticalSection;
|
byte m_unk36[2];
|
||||||
byte unk2[4];
|
MxCriticalSection m_criticalSection; // 0x38
|
||||||
void* unk3;
|
undefined m_unk54; // 0x54
|
||||||
void *unk4;
|
byte m_unk55[3];
|
||||||
|
void* m_unk4;
|
||||||
|
void *m_unk5;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXDISKSTREAMPROVIDER_H
|
#endif // MXDISKSTREAMPROVIDER_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user