RetroAchievements: Add a tab for debug stats

This commit is contained in:
Henrik Rydgård committed 2023-06-27 10:33:40 +02:00
1 parent 5d3eb8081d
commit df8a745350
5 files changed
+37 -9

No files matched your search

+1 -1
View File
@@ -1430,7 +1430,7 @@ static Path GetSecretPath(const char *nameOfSecret) {
// name should be simple alphanumerics to avoid problems on Windows.
void NativeSaveSecret(const char *nameOfSecret, const std::string &data) {
Path path = GetSecretPath(nameOfSecret);
if (!File::WriteDataToFile(false, data.data(), data.size(), path)) {
if (!File::WriteDataToFile(false, data.data(), (unsigned int)data.size(), path)) {
WARN_LOG(SYSTEM, "Failed to write secret '%s' to path '%s'", nameOfSecret, path.c_str());
}
}