Fixed saved state issues for some mappers

This commit is contained in:
Souryo 2015-12-29 00:45:06 -05:00
parent 8f7f690df0
commit e41ca6b674
3 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,7 @@ protected:
virtual void StreamState(bool saving)
{
Stream<bool>(_bf9097Mode);
BaseMapper::StreamState(saving);
Stream<bool>(_bf9097Mode);
}
};

View File

@ -22,6 +22,8 @@ class IremG101 : public BaseMapper
virtual void StreamState(bool saving)
{
BaseMapper::StreamState(saving);
StreamArray<uint8_t>(_prgRegs, 2);
Stream<uint8_t>(_prgMode);
}

View File

@ -32,6 +32,8 @@ class JalecoSs88006 : public BaseMapper
virtual void StreamState(bool saving)
{
BaseMapper::StreamState(saving);
StreamArray<uint8_t>(_prgBanks, 3);
StreamArray<uint8_t>(_chrBanks, 8);
StreamArray<uint8_t>(_irqReloadValue, 4);