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

@@ -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)