diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-14 23:00:37 -0400 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2020-07-15 03:02:28 +0000 |
commit | 0e971323147af684b183d5954059cec535e643d6 (patch) | |
tree | f9457d160ec7928caaa8fb428cffa39f189bde5e | |
parent | 4a1988d31bcf8361f92ca74c460077ee6cb64ba7 (diff) | |
download | rockbox-0e971323147af684b183d5954059cec535e643d6.tar.gz rockbox-0e971323147af684b183d5954059cec535e643d6.zip |
talk: only show the "failed reading .voice" splash if talking is enabled
Change-Id: I4046294e39c621ddeeceeb6f21eab05a1e687cb5
-rw-r--r-- | apps/talk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/talk.c b/apps/talk.c index 35c2a477fc..2d27f7a399 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -939,7 +939,8 @@ void talk_init(void) | |||
939 | { | 939 | { |
940 | if (!load_voicefile_index(filehandle)) | 940 | if (!load_voicefile_index(filehandle)) |
941 | { | 941 | { |
942 | splashf(HZ * 2, str(LANG_READ_FAILED), ".voice"); | 942 | if (global_settings.talk_menu) |
943 | splashf(HZ, str(LANG_READ_FAILED), ".voice"); | ||
943 | goto out; | 944 | goto out; |
944 | } | 945 | } |
945 | /* Now determine the maximum buffer size needed for the voicefile. | 946 | /* Now determine the maximum buffer size needed for the voicefile. |