commit | 9821cce484b14f6f7ecbfa6367c26ceab7ebe87e | [log] [tgz] |
---|---|---|
author | Brandon Low <lostlogic@rockbox.org> | Tue Nov 06 16:49:30 2007 +0000 |
committer | Brandon Low <lostlogic@rockbox.org> | Tue Nov 06 16:49:30 2007 +0000 |
tree | 0894800a40f79346d2621923d2470425b9b9ee55 | |
parent | b848c683d62e9cd506518a0c23944c6bfcbb9bfe [diff] |
Pull the size range checking and disk request into a separate function that both bufread and bufgetdata can use. Do better range checking to ensure that we don't get 'stuck' in the calls and warn with a logf if requests are made for which we cannot guarantee satisfaction. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15495 a1c6a512-1295-4272-9138-f99709370657