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
{
out.putInt(myBankOffset);
out.putBool(myBankingDisabled);
}
catch(...)
{
@ -169,6 +170,7 @@ bool CartridgeMDM::load(Serializer& in)
try
{
myBankOffset = in.getInt();
myBankingDisabled = in.getBool();
}
catch(...)
{