Rockbox mail archive
Subject: Re: [ rockbox-Patches-625487 ] .rockbox browsing patch
From: Hardeep Sidhu (hardeeps_at_pobox.com)
Date: 2003-06-07
--- 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
Page was last modified "Jan 10 2012" The Rockbox Crew
|