Fix saving/loading state for SMSGameCore.