mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
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
This commit is contained in:
parent
4382d3f5ed
commit
c93666d08e
3 changed files with 10 additions and 2 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue