forked from len0rd/rockbox
[Bug_Fix] shortcut to directory in .link files caused crash
since the plugin browser is now closed when running plugins rb->set_current_file() had no valid browser context and used 'random' memory instead also adds a way to discard levels so we can load the desired directory instead of returning to the previous https://forums.rockbox.org/index.php/topic,54694.0.html Change-Id: I624246e56d42972bf6a1ce566a209b745de6f30b
This commit is contained in:
parent
6e90bfe029
commit
72c539d35e
5 changed files with 83 additions and 13 deletions
|
@ -90,9 +90,12 @@ struct tree_context {
|
|||
int currtable; /* db use */
|
||||
int currextra; /* db use */
|
||||
#endif
|
||||
int sort_dir; /* directory sort order */
|
||||
int out_of_tree; /* shortcut from elsewhere */
|
||||
struct tree_cache cache;
|
||||
bool dirfull;
|
||||
int sort_dir; /* directory sort order */
|
||||
bool is_browsing; /* valid browse context? */
|
||||
|
||||
struct browse_context *browse;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue