mirror of https://github.com/stella-emu/stella.git
fix CartMDM serializing
This commit is contained in:
parent
27aa4a9204
commit
d0772ecc86
|
@ -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(...)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue