mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 17:19:39 +00:00
Fixed saved state issues for some mappers
This commit is contained in:
parent
8f7f690df0
commit
e41ca6b674
@ -36,6 +36,7 @@ protected:
|
||||
|
||||
virtual void StreamState(bool saving)
|
||||
{
|
||||
Stream<bool>(_bf9097Mode);
|
||||
BaseMapper::StreamState(saving);
|
||||
Stream<bool>(_bf9097Mode);
|
||||
}
|
||||
};
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user