diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-10-14 21:42:19 -0500 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2020-04-17 07:30:23 +0200 |
commit | c93666d08e3ade6ee2c63d03180bac6d43536fff (patch) | |
tree | 224beaf1debd650bb8bceaeac3dcc5624fabb542 /tools/genlang | |
parent | 4382d3f5ed1534b2f79d72cb7cf11dec9e1758c7 (diff) | |
download | rockbox-c93666d08e3ade6ee2c63d03180bac6d43536fff.tar.gz rockbox-c93666d08e3ade6ee2c63d03180bac6d43536fff.zip |
talk.h make voice files check for proper number of entries on load
In addition to version and target also check id1_max & id2_max
for proper length before allowing voice file to be loaded
Change-Id: I36016059d07781b0bb43dd9873bbb6e565298d76
Diffstat (limited to 'tools/genlang')
-rwxr-xr-x | tools/genlang | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/genlang b/tools/genlang index d0b0f145ef..863a104185 100755 --- a/tools/genlang +++ b/tools/genlang | |||
@@ -718,6 +718,7 @@ MOO | |||
718 | 718 | ||
719 | # Output end of lang_enum.h | 719 | # Output end of lang_enum.h |
720 | print HFILE_CORE <<MOO | 720 | print HFILE_CORE <<MOO |
721 | LANG_LAST_VOICEONLY_INDEX_IN_ARRAY /* this is not a string, this is a marker */ | ||
721 | }; | 722 | }; |
722 | /* end of generated enum list */ | 723 | /* end of generated enum list */ |
723 | #endif /* _LANG_ENUM_H_ */ | 724 | #endif /* _LANG_ENUM_H_ */ |