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

@ -68,7 +68,7 @@ bundle:
cp ./src/overclock/overclock.elf ./build/SYSTEM/rg35xx/bin
cp ./src/minui/minui.elf ./build/SYSTEM/rg35xx/paks/MinUI.pak
cp ./src/clock/clock.elf ./build/EXTRAS/Tools/rg35xx/Clock.pak
cp ./src/clear_recent/clear_recent.elf ./build/EXTRAS/Tools/rg35xx/ClearRecent.pak
cp ./src/clear_recent/clear_recent.elf "./build/EXTRAS/Tools/rg35xx/Clear Recently Played.pak"
# stock cores
cp ./cores/output/fceumm_libretro.so ./build/SYSTEM/rg35xx/cores

View file

@ -0,0 +1,5 @@
#!/bin/sh
PATH=$(dirname "$0")
cd "$PATH"
./clear_recent.elf

View file

@ -1,4 +0,0 @@
#!/bin/sh
cd $(dirname "$0")
./clear_recent.elf

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