mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Use safe_string when printing %s with Memory::GetCharPointer.
This commit is contained in:
1 parent
3b7a33ddd8
commit
0b3fdf0cef
3 files changed
+7
-1
No files matched your search
@@ -55,6 +55,10 @@ void truncate_cpy(char *dest, size_t destSize, const char *src) {
|
||||
}
|
||||
}
|
||||
|
||||
const char* safe_string(const char* s) {
|
||||
return s ? s : "(null)";
|
||||
}
|
||||
|
||||
long parseHexLong(std::string s) {
|
||||
long value = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user