Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: [ rockbox-Patches-625487 ] .rockbox browsing patch

Re: [ rockbox-Patches-625487 ] .rockbox browsing patch

From: Hardeep Sidhu <hardeeps_at_pobox.com>
Date: Fri, 6 Jun 2003 16:24:59 -0700 (PDT)

--- Linus Nielsen Feltzing <linus_at_haxx.se> wrote:
> Brian King wrote:
>
> > Oh. You are suggesting that browsing the .rockbox
> directory should
> > overwrite the regular directory cache. The reason
> I went for the extra
> > complexity was that I felt it might be confusing
> to the user if the
> > position in browse mode was lost simply by loading
> a .cfg file from a
> > menu option.
>
> I agree about that one. I think that should be
> avoided. It could be
> solved by remembering the position and reloading the
> dir after the
> .rockbox browsing is finished.

The position is remembered already with the
currdir/dircursor/etc. variables. Just set reload_dir
(in tree.c) to true after the .rockbox browsing and
everything will be restored correctly.

-Hardeep
Received on 2003-06-07

Page template was last modified "Mon Jun 14 16:30:06 2021" The Rockbox Crew -- Privacy Policy