System: Include cheevos state in save states

This commit is contained in:
Connor McLaughlin
2022-03-27 00:52:11 +10:00
parent 584525cb11
commit a55b5022c7
6 changed files with 124 additions and 17 deletions

View File

@ -188,6 +188,18 @@ public:
Do(data);
}
void SkipBytes(size_t count)
{
if (m_mode != Mode::Read)
{
m_error = true;
return;
}
if (!m_error)
m_error = !m_stream->SeekRelative(static_cast<s64>(count));
}
private:
ByteStream* m_stream;
Mode m_mode;