From d0772ecc8684fb6a3d615013288657b9714401af Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Tue, 4 Feb 2020 16:02:36 +0100 Subject: [PATCH] fix CartMDM serializing --- src/emucore/CartMDM.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emucore/CartMDM.cxx b/src/emucore/CartMDM.cxx index e76526b47..da6ddbf3a 100644 --- a/src/emucore/CartMDM.cxx +++ b/src/emucore/CartMDM.cxx @@ -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(...) {