Fix size of LegoInputManager

This commit is contained in:
Anonymous Maarten 2023-07-01 20:16:23 +02:00
parent b420c76219
commit 5b8e7e5ca4
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
#include "legoinputmanager.h" #include "legoinputmanager.h"
#include "decomp.h"
DECOMP_STATIC_ASSERT(sizeof(LegoInputManager) == 824); // 0x10059085
// OFFSET: LEGO1 0x1005b790 STUB // OFFSET: LEGO1 0x1005b790 STUB
LegoInputManager::LegoInputManager() LegoInputManager::LegoInputManager()
{ {

View File

@ -3,6 +3,8 @@
#include "mxpresenter.h" #include "mxpresenter.h"
#include "decomp.h"
enum NotificationId enum NotificationId
{ {
NONE = 0, NONE = 0,
@ -27,9 +29,9 @@ class LegoInputManager : public MxPresenter
virtual long Tickle() override; // vtable+0x8 virtual long Tickle() override; // vtable+0x8
char m_pad00[0x19C]; undefined m_pad00[0x15c];
int m_joystickIndex; int m_joystickIndex;
char m_pad200[0x194]; undefined m_pad200[0x194];
MxBool m_useJoystick; MxBool m_useJoystick;
}; };