Match MxBackgroundAudioManager constructor. This took WAY too much time.

This commit is contained in:
Joshua Peisach 2023-07-23 14:21:53 -04:00
parent e4b26019a2
commit 6de124e6c0
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 4 additions and 5 deletions

View File

@ -3,15 +3,13 @@
// OFFSET: LEGO1 0x1007ea90 // OFFSET: LEGO1 0x1007ea90
MxBackgroundAudioManager::MxBackgroundAudioManager() MxBackgroundAudioManager::MxBackgroundAudioManager()
{ {
// TODO
m_unk14c = 0;
NotificationManager()->Register(this); NotificationManager()->Register(this);
m_unka0 = 0; m_unka0 = 0;
m_unk138 = 0; m_unk138 = 0;
m_unk148 = 0;
m_unk13c = 0; m_unk13c = 0;
m_unk140 = 0; m_unk140 = 0;
m_unk144 = 0; m_unk144 = 0;
m_unk148 = 0;
m_musicEnabled = FALSE; m_musicEnabled = FALSE;
} }

View File

@ -4,6 +4,7 @@
#include "mxcore.h" #include "mxcore.h"
#include "mxdsaction.h" #include "mxdsaction.h"
#include "mxtypes.h" #include "mxtypes.h"
#include "mxnotificationmanager.h"
// VTABLE 0x100d9fe8 // VTABLE 0x100d9fe8
// SIZE 0x150 // SIZE 0x150
@ -39,8 +40,8 @@ class MxBackgroundAudioManager : public MxCore
MxS32 m_unk13c; MxS32 m_unk13c;
MxS32 m_unk140; MxS32 m_unk140;
MxS32 m_unk144; MxS32 m_unk144;
MxS8 m_unk148; MxS16 m_unk148;
MxS32 m_unk14c; MxAtomId m_unk14c;
}; };
#endif // MXBACKGROUNDAUDIOMANAGER_H #endif // MXBACKGROUNDAUDIOMANAGER_H