Pad all single-digit hexadecimal values with zero (#504)

* Pad all single-digit hexadecimal values with zero

* One more fix
This commit is contained in:
Christian Semmler
2024-01-29 16:17:17 -05:00
committed by GitHub
parent 35def3013a
commit bcdddd4c7e
147 changed files with 311 additions and 311 deletions

View File

@@ -5,7 +5,7 @@
#include "mxtimer.h"
#include "mxtypes.h"
#define TICKLE_MANAGER_FLAG_DESTROY 0x1
#define TICKLE_MANAGER_FLAG_DESTROY 0x01
DECOMP_SIZE_ASSERT(MxTickleClient, 0x10);
DECOMP_SIZE_ASSERT(MxTickleManager, 0x14);

View File

@@ -8,7 +8,7 @@
#include "mxticklemanager.h"
#include "mxtypes.h"
DECOMP_SIZE_ASSERT(MxNotification, 0x8);
DECOMP_SIZE_ASSERT(MxNotification, 0x08);
DECOMP_SIZE_ASSERT(MxNotificationManager, 0x40);
// FUNCTION: LEGO1 0x100ac220

View File

@@ -2,4 +2,4 @@
#include "decomp.h"
DECOMP_SIZE_ASSERT(MxNotificationParam, 0xc);
DECOMP_SIZE_ASSERT(MxNotificationParam, 0x0c);

View File

@@ -22,5 +22,5 @@ MxDSChunk::~MxDSChunk()
// FUNCTION: LEGO1 0x100be1e0
MxU32 MxDSChunk::GetHeaderSize()
{
return 0xe;
return 0x0e;
}

View File

@@ -62,7 +62,7 @@ MxLong MxDSFile::ReadChunks()
return -1;
}
m_io.Read(&m_header, 0xc);
m_io.Read(&m_header, 0x0c);
if ((m_header.m_majorVersion == SI_MAJOR_VERSION) && (m_header.m_minorVersion == SI_MINOR_VERSION)) {
childChunk.ckid = FOURCC('M', 'x', 'O', 'f');
if (m_io.Descend(&childChunk, &topChunk, 0) != 0) {

View File

@@ -1,9 +1,9 @@
#include "mxstreamlist.h"
// Wrappers around STL list that are used by the MxStream* classes.
DECOMP_SIZE_ASSERT(MxStreamListMxDSAction, 0xc);
DECOMP_SIZE_ASSERT(MxStreamListMxNextActionDataStart, 0xc);
DECOMP_SIZE_ASSERT(MxStreamListMxDSSubscriber, 0xc);
DECOMP_SIZE_ASSERT(MxStreamListMxDSAction, 0x0c);
DECOMP_SIZE_ASSERT(MxStreamListMxNextActionDataStart, 0x0c);
DECOMP_SIZE_ASSERT(MxStreamListMxDSSubscriber, 0x0c);
// FUNCTION: LEGO1 0x100b8450
MxDSSubscriber* MxStreamListMxDSSubscriber::Find(MxDSObject* p_object)

View File

@@ -6,7 +6,7 @@
#include "mxvideomanager.h"
DECOMP_SIZE_ASSERT(MxVideoPresenter, 0x64);
DECOMP_SIZE_ASSERT(MxVideoPresenter::AlphaMask, 0xc);
DECOMP_SIZE_ASSERT(MxVideoPresenter::AlphaMask, 0x0c);
// FUNCTION: LEGO1 0x100b24f0
MxVideoPresenter::AlphaMask::AlphaMask(const MxBitmap& p_bitmap)