diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-06-08 09:27:25 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-06-08 09:27:25 +0000 |
| commit | 5f868fa161d5827e45a060a0b17b44a997625315 (patch) | |
| tree | 1694ae3dfcb0189abdf098edbf6dae0bf2a18e4d /libpcsxcore/misc.c | |
| parent | c7eb23ccf1813fb4ca47c309c40baff308151237 (diff) | |
| download | pcsxr-5f868fa161d5827e45a060a0b17b44a997625315.tar.gz | |
Rebranding.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67621 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/misc.c')
| -rw-r--r-- | libpcsxcore/misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 0269a8d4..e7f4a2ca 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -494,7 +494,7 @@ int Load(const char *ExePath) { // STATES
-static const char PcsxHeader[32] = "STv4 PCSX v" PACKAGE_VERSION;
+static const char PcsxrHeader[32] = "STv4 PCSXR v" PACKAGE_VERSION;
// Savestate Versioning!
// If you make changes to the savestate version, please increment the value below.
@@ -510,7 +510,7 @@ int SaveState(const char *file) { f = gzopen(file, "wb");
if (f == NULL) return -1;
- gzwrite(f, (void *)PcsxHeader, 32);
+ gzwrite(f, (void *)PcsxrHeader, 32);
gzwrite(f, (void *)&SaveVersion, sizeof(u32));
gzwrite(f, (void *)&Config.HLE, sizeof(boolean));
@@ -572,7 +572,7 @@ int LoadState(const char *file) { gzread(f, &version, sizeof(u32));
gzread(f, &hle, sizeof(boolean));
- if (strncmp("STv4 PCSX", header, 9) != 0 || version != SaveVersion || hle != Config.HLE) {
+ if (strncmp("STv4 PCSXR", header, 10) != 0 || version != SaveVersion || hle != Config.HLE) {
gzclose(f);
return -1;
}
@@ -627,7 +627,7 @@ int CheckState(const char *file) { gzclose(f);
- if (strncmp("STv4 PCSX", header, 9) != 0 || version != SaveVersion || hle != Config.HLE)
+ if (strncmp("STv4 PCSXR", header, 10) != 0 || version != SaveVersion || hle != Config.HLE)
return -1;
return 0;
|
