mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
PPSSPP UI: Implement password masking in popup text inputs
This commit is contained in:
1 parent
f020d1d815
commit
1b158940ac
8 files changed
+27
-10
No files matched your search
+1
-1
@@ -1546,7 +1546,7 @@ bool NativeSaveSecret(std::string_view nameOfSecret, std::string_view data) {
|
||||
if (data.empty() && File::Exists(path)) {
|
||||
return File::Delete(path);
|
||||
} else if (!File::WriteDataToFile(false, data.data(), data.size(), path)) {
|
||||
WARN_LOG(Log::System, "Failed to write secret '%s' to path '%s'", nameOfSecret, path.c_str());
|
||||
WARN_LOG(Log::System, "Failed to write secret '%.*s' to path '%s'", (int)nameOfSecret.size(), nameOfSecret.data(), path.c_str());
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user