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

@@ -67,7 +67,7 @@ LegoGameState::LegoGameState()
SetROIHandlerFunction();
this->m_stateCount = 0;
this->m_unk0xc = 0;
this->m_unk0x0c = 0;
this->m_savePath = NULL;
this->m_unk0x424 = 0;
this->m_prevArea = 0;
@@ -131,7 +131,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
fileStream.Write(&maybeVersion, 4);
fileStream.Write(&m_unk0x24, 2);
fileStream.Write(&m_unk0x10, 2);
fileStream.Write(&m_unk0xc, 1);
fileStream.Write(&m_unk0x0c, 1);
for (MxS32 i = 0; i < sizeof(g_colorSaveData) / sizeof(g_colorSaveData[0]); ++i) {
if (WriteVariable(&fileStream, variableTable, g_colorSaveData[i].m_targetName) == FAILURE)