dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Silent play - another fix

Re: Silent play - another fix

From: Mike Holden <>
Date: Tue, 8 Apr 2003 14:00:34 +0100 (BST)

Mike Holden said:
> In file.c, readwrite()
> If we successfully read headbytes, but fail in fat_readwrite(), we
> return nread as success, but we don't update file->fileoffset to reflect
> the data we've read from headbytes. We need to add file->fileoffset +=
> nread before each of the early return()s on fat_readwrite() failure.

Bad form, replying to my own post!

I suspect we also ought to be resetting file->cacheoffset to -1 as well?

Mike Holden
Received on 2003-04-08

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy