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