style: Update strings

This commit is contained in:
robshape 2023-04-17 20:46:54 +02:00
parent 138c92dd35
commit 5ecf40eed6
5 changed files with 14 additions and 8 deletions

View file

@ -22,8 +22,8 @@ int main(int argc, char* argv[]) {
// Show confirmation message
// GFX_blitHardwareGroup(screen, show_setting);
GFX_blitMessage(font.large, "Are you sure you want to clear\nRecently Played list?", screen, NULL);
GFX_blitButtonGroup((char*[]){ "B","CANCEL", "A","CONFIRM", NULL }, screen, 1);
GFX_blitMessage(font.large, "Are you sure you want to clear\nRecently Played?", screen, NULL);
GFX_blitButtonGroup((char*[]){ "B","CANCEL", "A","CLEAR", NULL }, screen, 1);
GFX_flip(screen);

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;
}
}