fix CartMDM serializing

This commit is contained in:
Thomas Jentzsch 2020-02-04 16:02:36 +01:00
parent 27aa4a9204
commit d0772ecc86
1 changed files with 2 additions and 0 deletions

View File

@ -153,6 +153,7 @@ bool CartridgeMDM::save(Serializer& out) const
try try
{ {
out.putInt(myBankOffset); out.putInt(myBankOffset);
out.putBool(myBankingDisabled);
} }
catch(...) catch(...)
{ {
@ -169,6 +170,7 @@ bool CartridgeMDM::load(Serializer& in)
try try
{ {
myBankOffset = in.getInt(); myBankOffset = in.getInt();
myBankingDisabled = in.getBool();
} }
catch(...) catch(...)
{ {