Fix byte reads
svn-id: r13596
This commit is contained in:
parent
e17a15d96e
commit
ae50adfd31
1 changed files with 2 additions and 2 deletions
|
@ -265,9 +265,9 @@ uint32 File::read(void *ptr, uint32 len) {
|
||||||
|
|
||||||
if (_encbyte != 0) {
|
if (_encbyte != 0) {
|
||||||
uint32 t_size = real_len;
|
uint32 t_size = real_len;
|
||||||
do {
|
while (t_size--) {
|
||||||
*ptr2++ ^= _encbyte;
|
*ptr2++ ^= _encbyte;
|
||||||
} while (--t_size);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return real_len;
|
return real_len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue