commit | e10f455fbd3149a034e35d30be333f958d773d92 | [log] [tgz] |
---|---|---|
author | Dave Chapman <dave@dchapman.com> | Fri Apr 13 19:51:19 2007 +0000 |
committer | Dave Chapman <dave@dchapman.com> | Fri Apr 13 19:51:19 2007 +0000 |
tree | 3b59319cf6f9496266d3e1bdae96c14c94af7b21 | |
parent | 5d2b1e3cb3d25a92d19bf62ce8f08f053b237ae9 [diff] |
Simplify the readshort/readlong/readstr functions - move the bounds checking into the calling function (which allows bounds-checking in chunks) and change the readshort/readlong functions (which now always succeed) to return the value read instead of a result code. Indirectly closes FS #7026 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13143 a1c6a512-1295-4272-9138-f99709370657