Fixed issues when loading states for mapper 48 games (e.g: Don Doko Don 2)

This was caused by an old fix for MMC3 save states (AfterLoadState) that is no longer needed (because using SetCpuMemoryMapping no longer requires manually restoring the state)
This commit is contained in:
Sour 2019-01-06 15:01:52 -05:00
parent 8da3c85de4
commit b01c2d3f83
3 changed files with 0 additions and 8 deletions

View file

@ -195,11 +195,6 @@ class MMC3 : public BaseMapper
_wramEnabled, _wramWriteProtected, registers, _needIrq);
}
void AfterLoadState() override
{
UpdateState();
}
virtual uint16_t GetPRGPageSize() override { return 0x2000; }
virtual uint16_t GetCHRPageSize() override { return 0x0400; }
virtual uint32_t GetSaveRamPageSize() override { return _romInfo.SubMapperID == 1 ? 0x200 : 0x2000; }

View file

@ -99,8 +99,6 @@ void Snapshotable::LoadSnapshot(istream* file, uint32_t stateVersion)
file->read((char*)_stream, _streamSize);
StreamState(_saving);
AfterLoadState();
delete[] _stream;
if(_blockBuffer) {

View file

@ -213,7 +213,6 @@ private:
protected:
virtual void StreamState(bool saving) = 0;
virtual void AfterLoadState() { }
uint32_t GetStateVersion() { return _stateVersion; }