Style refactor omni/system components (#974)

* Style refactor omni/system components

* Fix

* Fix
This commit is contained in:
Christian Semmler
2024-05-30 15:03:43 -04:00
committed by GitHub
parent ac41854149
commit 76435d803f
16 changed files with 106 additions and 84 deletions

View File

@@ -11,7 +11,7 @@ public:
~MxAutoLock();
private:
MxCriticalSection* m_criticalSection;
MxCriticalSection* m_criticalSection; // 0x00
};
#endif // MXAUTOLOCK_H

View File

@@ -8,7 +8,9 @@ class MxCriticalSection {
public:
MxCriticalSection();
~MxCriticalSection();
static void SetDoMutex();
void Enter();
void Leave();

View File

@@ -6,6 +6,7 @@
class MxScheduler {
public:
static MxScheduler* GetInstance();
void StartMultiTasking(MxULong);
};

View File

@@ -1,5 +1,5 @@
#ifndef MX_SEMAPHORE_H
#define MX_SEMAPHORE_H
#ifndef MXSEMAPHORE_H
#define MXSEMAPHORE_H
#include "mxtypes.h"
@@ -23,4 +23,4 @@ private:
HANDLE m_hSemaphore; // 0x04
};
#endif // MX_SEMAPHORE_H
#endif // MXSEMAPHORE_H

View File

@@ -42,19 +42,4 @@ protected:
MxCore* m_target; // 0x18
};
// VTABLE: LEGO1 0x100dc6d8
// SIZE 0x20
class MxTickleThread : public MxThread {
public:
MxTickleThread(MxCore* p_target, MxS32 p_frequencyMS);
MxResult Run() override;
// SYNTHETIC: LEGO1 0x100b8c20
// MxTickleThread::`scalar deleting destructor'
private:
MxS32 m_frequencyMS; // 0x1c
};
#endif // MXTHREAD_H

View File

@@ -0,0 +1,21 @@
#ifndef MXTICKLETHREAD_H
#define MXTICKLETHREAD_H
#include "mxthread.h"
// VTABLE: LEGO1 0x100dc6d8
// SIZE 0x20
class MxTickleThread : public MxThread {
public:
MxTickleThread(MxCore* p_target, MxS32 p_frequencyMS);
MxResult Run() override;
// SYNTHETIC: LEGO1 0x100b8c20
// MxTickleThread::`scalar deleting destructor'
private:
MxS32 m_frequencyMS; // 0x1c
};
#endif // MXTICKLETHREAD_H