System: Check save state version when loading

Fixes #34.
This commit is contained in:
Connor McLaughlin
2020-02-22 17:16:45 +09:00
parent 959a555274
commit 49c7767ed4
2 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include "pse/types.h"
#include "types.h"
constexpr u32 SAVE_STATE_VERSION = 1;
static constexpr u32 SAVE_STATE_MAGIC = 0x43435544;
static constexpr u32 SAVE_STATE_VERSION = 1;