Rockbox mail archiveSubject: Re: Viewing Files With Plugins Proof of concept
From: Björn Stenberg (bjorn_at_haxx.se)
Henrik Backe wrote:
Is this really necessary? Reading one file and one dir should not be much slower than just reading one file.
I would prefer to just have a single config file. This also simplifies the code.
> - I've made the assumption that for example
How do you mean?
> - figure out a sane value for string_buffer in filetypes.c
Could you explain what you use it for? It's not entirely obvious.
I think the plugin file config format should be simplified, from the verbose:
to the more terse:
chip8,ch8,70 70 7f 7f 70 70
This simplifies the parsing code greatly, and speeds up loading too.
I also don't think it is necessary to verify that each plugin exists when loading the config file. It's just as well to show an error message when the user tries to load it from the menu.
Page was last modified "Jan 10 2012" The Rockbox Crew