2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Work on CMemoryCardDriver

This commit is contained in:
Jack Andersen
2016-12-20 11:51:50 -10:00
parent 29222827c6
commit 9639ac75cc
14 changed files with 672 additions and 107 deletions

View File

@@ -86,8 +86,8 @@ CPlayerState::CPlayerState(CBitStreamReader& stream)
x170_scanTimes[i].second = 0.f;
}
x180_ = stream.ReadEncoded(CBitStreamReader::GetBitCount(0x100));
x184_ = stream.ReadEncoded(CBitStreamReader::GetBitCount(0x100));
x180_logScans = stream.ReadEncoded(CBitStreamReader::GetBitCount(0x100));
x184_totalLogScans = stream.ReadEncoded(CBitStreamReader::GetBitCount(0x100));
}
void CPlayerState::PutTo(CBitStreamWriter &stream)
@@ -112,8 +112,8 @@ void CPlayerState::PutTo(CBitStreamWriter &stream)
stream.WriteEncoded(false, 1);
}
stream.WriteEncoded(x180_, CBitStreamWriter::GetBitCount(0x100));
stream.WriteEncoded(x184_, CBitStreamWriter::GetBitCount(0x100));
stream.WriteEncoded(x180_logScans, CBitStreamWriter::GetBitCount(0x100));
stream.WriteEncoded(x184_totalLogScans, CBitStreamWriter::GetBitCount(0x100));
}
static const float unk[]