mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
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:
committed by
GitHub
parent
35def3013a
commit
bcdddd4c7e
@@ -22,5 +22,5 @@ MxDSChunk::~MxDSChunk()
|
||||
// FUNCTION: LEGO1 0x100be1e0
|
||||
MxU32 MxDSChunk::GetHeaderSize()
|
||||
{
|
||||
return 0xe;
|
||||
return 0x0e;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user