mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Change playername.txt default value
Replaces the "Rockbox!" string in playername.txt with the player's model name, in case the file does not exist at boot. Change-Id: I458b6b89d0d998d8cf889d01122b01cee42b21c5
This commit is contained in:
parent
9e95b337cc
commit
dbeefebcad
2 changed files with 3 additions and 3 deletions
|
@ -206,7 +206,7 @@ int main(void)
|
|||
int fd = open(ROCKBOX_DIR"/playername.txt", O_CREAT|O_WRONLY|O_TRUNC, 0666);
|
||||
if(fd >= 0)
|
||||
{
|
||||
fdprintf(fd, "%s!", str(LANG_ROCKBOX_TITLE));
|
||||
fdprintf(fd, "%s", MODEL_NAME);
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue