summaryrefslogtreecommitdiffstats
path: root/tools/genlang
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-10-14 21:42:19 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2020-04-17 07:30:23 +0200
commitc93666d08e3ade6ee2c63d03180bac6d43536fff (patch)
tree224beaf1debd650bb8bceaeac3dcc5624fabb542 /tools/genlang
parent4382d3f5ed1534b2f79d72cb7cf11dec9e1758c7 (diff)
downloadrockbox-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-xtools/genlang1
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
# Output end of lang_enum.h
print HFILE_CORE <<MOO
+ LANG_LAST_VOICEONLY_INDEX_IN_ARRAY /* this is not a string, this is a marker */
};
/* end of generated enum list */
#endif /* _LANG_ENUM_H_ */