forked from len0rd/rockbox
Accept FS#5464 - organise the rocks directory.
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5b76936a44
commit
fda7d720c0
29 changed files with 266 additions and 72 deletions
|
|
@ -236,7 +236,7 @@ void calc_scales(void)
|
|||
}
|
||||
|
||||
void load_settings(void) {
|
||||
int fp = rb->open("/.rockbox/rocks/.vu_meter", O_RDONLY);
|
||||
int fp = rb->open(PLUGIN_DEMOS_DIR "/.vu_meter", O_RDONLY);
|
||||
if(fp>=0) {
|
||||
rb->read(fp, &vumeter_settings, sizeof(struct saved_settings));
|
||||
rb->close(fp);
|
||||
|
|
@ -252,7 +252,7 @@ void load_settings(void) {
|
|||
}
|
||||
|
||||
void save_settings(void) {
|
||||
int fp = rb->creat("/.rockbox/rocks/.vu_meter");
|
||||
int fp = rb->creat(PLUGIN_DEMOS_DIR "/.vu_meter");
|
||||
if(fp >= 0) {
|
||||
rb->write (fp, &vumeter_settings, sizeof(struct saved_settings));
|
||||
rb->close(fp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue