From fb0aad091764114a8e2c7afa9886584c1becf67e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 10 Dec 2019 00:28:58 +1000 Subject: [PATCH] System: Include SIO in save state --- src/core/system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index 076f50cf3..6beef00e5 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -278,6 +278,9 @@ bool System::DoState(StateWrapper& sw) if (!sw.DoMarker("MDEC") || !m_mdec->DoState(sw)) return false; + if (!sw.DoMarker("SIO") || !m_sio->DoState(sw)) + return false; + return !sw.HasError(); }