Savestates: Add developers comment for commit log messages

This commit is contained in:
refractionpcsx2 2022-06-04 04:57:37 +01:00
parent 30f6c5f8f1
commit 906898c785
1 changed files with 5 additions and 4 deletions

View File

@ -28,13 +28,14 @@ enum class FreezeAction
}; };
// Savestate Versioning! // 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 // NOTICE: When updating g_SaveVersion, please make sure you add the following line to your commit message somewhere:
// the lower 16 bit value. IF the change is breaking of all compatibility with old // [SAVEVERSION+]
// states, increment the upper 16 bit value, and clear the lower 16 bits to 0. // This informs the auto updater that the users savestates will be invalidated.
static const u32 g_SaveVersion = (0x9A2D << 16) | 0x0000; static const u32 g_SaveVersion = (0x9A2D << 16) | 0x0000;
// the freezing data between submodules and core // the freezing data between submodules and core
// an interesting thing to note is that this dates back from before plugin // 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 // merges and was used to pass data between plugins and cores, although the