2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

PART MBSP property yaml fix

This commit is contained in:
Jack Andersen
2018-04-04 20:58:11 -10:00
parent d5e471bac3
commit 898114d803
9 changed files with 20 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ const std::pair<int, const SGameOption*> GameOptionsRegistry[] =
CPersistentOptions::CPersistentOptions(CBitStreamReader& stream)
{
for (int b=0 ; b<98 ; ++b)
x0_[b] = stream.ReadEncoded(8);
x0_nesState[b] = stream.ReadEncoded(8);
for (int b=0 ; b<64 ; ++b)
x68_[b] = stream.ReadEncoded(8);
@@ -108,7 +108,7 @@ CPersistentOptions::CPersistentOptions(CBitStreamReader& stream)
void CPersistentOptions::PutTo(CBitStreamWriter& w) const
{
for (int b=0 ; b<98 ; ++b)
w.WriteEncoded(x0_[b], 8);
w.WriteEncoded(x0_nesState[b], 8);
for (int b=0 ; b<64 ; ++b)
w.WriteEncoded(x68_[b], 8);