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
|
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(...)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue