style: Update strings

This commit is contained in:
robshape 2023-04-17 20:46:54 +02:00
parent 34343925e6
commit 076a27f5ed
5 changed files with 14 additions and 8 deletions

View file

@ -65,6 +65,11 @@ void getDisplayName(const char* in_name, char* out_name) {
tmp = out_name + strlen(out_name) - 1;
while(tmp>out_name && isspace((unsigned char)*tmp)) tmp--;
tmp[1] = '\0';
// display "Tools" as "Settings"...
if (!strcmp("Tools", out_name)) {
strcpy(out_name, "Settings");
}
}
void getEmuName(const char* in_name, char* out_name) { // NOTE: both char arrays need to be MAX_PATH length!
char* tmp;
@ -189,4 +194,4 @@ uint64_t getMicroseconds(void) {
ret += (uint64_t)tv.tv_usec;
return ret;
}
}