Permalink
Browse files

Merge pull request #11508 from unknownbrackets/savedata

Savedata: Write only one secure entry
  • Loading branch information...
hrydgard committed Oct 28, 2018
2 parents cc9ad06 + 2650dda commit 7339abf28af9ec62f93dabe7104143533e53e1a0
Showing with 1 addition and 0 deletions.
  1. +1 −0 Core/Dialog/SavedataParam.cpp
@@ -471,6 +471,7 @@ int SavedataParam::Save(SceUtilitySavedataParam* param, const std::string &saveD
snprintf(entry->filename, sizeof(entry->filename), "%s", saveFilename.c_str());
memcpy(entry->hash, cryptedHash, 16);
break;
}
}
sfoFile.SetValue("SAVEDATA_FILE_LIST", (u8 *)updatedList, FILE_LIST_TOTAL_SIZE, (int)FILE_LIST_TOTAL_SIZE);

0 comments on commit 7339abf

Please sign in to comment.