mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
Merge branch 'VideoSoftware-savestates'
This commit is contained in:
commit
0c16489c39
21 changed files with 203 additions and 12 deletions
|
@ -186,6 +186,11 @@ void VideoBackendHardware::InitializeShared()
|
|||
// Run from the CPU thread
|
||||
void VideoBackendHardware::DoState(PointerWrap& p)
|
||||
{
|
||||
bool software = false;
|
||||
p.Do(software);
|
||||
if (p.GetMode() == PointerWrap::MODE_READ && software == true)
|
||||
// change mode to abort load of incompatible save state.
|
||||
p.SetMode(PointerWrap::MODE_VERIFY);
|
||||
VideoCommon_DoState(p);
|
||||
p.DoMarker("VideoCommon");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue