Skip to content

Commit

Permalink
Savestates: Add developers comment for commit log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Jun 4, 2022
1 parent 30f6c5f commit 906898c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pcsx2/SaveState.h
Expand Up @@ -28,13 +28,14 @@ enum class FreezeAction
};

// Savestate Versioning!
// If you make changes to the savestate version, please increment the value below.
// If the change is minor and compatibility with old states is retained, increment
// the lower 16 bit value. IF the change is breaking of all compatibility with old
// states, increment the upper 16 bit value, and clear the lower 16 bits to 0.

// NOTICE: When updating g_SaveVersion, please make sure you add the following line to your commit message somewhere:
// [SAVEVERSION+]
// This informs the auto updater that the users savestates will be invalidated.

static const u32 g_SaveVersion = (0x9A2D << 16) | 0x0000;


// the freezing data between submodules and core
// an interesting thing to note is that this dates back from before plugin
// merges and was used to pass data between plugins and cores, although the
Expand Down

0 comments on commit 906898c

Please sign in to comment.