forked from len0rd/rockbox
talk: only show the "failed reading .voice" splash if talking is enabled
Change-Id: I4046294e39c621ddeeceeb6f21eab05a1e687cb5
This commit is contained in:
parent
4a1988d31b
commit
0e97132314
1 changed files with 2 additions and 1 deletions
|
@ -939,7 +939,8 @@ void talk_init(void)
|
||||||
{
|
{
|
||||||
if (!load_voicefile_index(filehandle))
|
if (!load_voicefile_index(filehandle))
|
||||||
{
|
{
|
||||||
splashf(HZ * 2, str(LANG_READ_FAILED), ".voice");
|
if (global_settings.talk_menu)
|
||||||
|
splashf(HZ, str(LANG_READ_FAILED), ".voice");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
/* Now determine the maximum buffer size needed for the voicefile.
|
/* Now determine the maximum buffer size needed for the voicefile.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue