mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Make some global string pointers const, not just the strings.
Minor cleanup.
This commit is contained in:
1 parent
f22249cef5
commit
e3177ac870
30 files changed
+97
-97
No files matched your search
@@ -1092,7 +1092,7 @@ int SavedataParam::BuildHash(unsigned char *output,
|
||||
std::string SavedataParam::GetSpaceText(u64 size, bool roundUp)
|
||||
{
|
||||
char text[50];
|
||||
static const char *suffixes[] = {"B", "KB", "MB", "GB"};
|
||||
static const char * const suffixes[] = {"B", "KB", "MB", "GB"};
|
||||
for (size_t i = 0; i < ARRAY_SIZE(suffixes); ++i)
|
||||
{
|
||||
if (size < 1024)
|
||||
|
||||
Reference in new issue
Block a user