summaryrefslogtreecommitdiffstats
path: root/apps/plugins/vu_meter.c
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-02 23:43:54 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-02 23:43:54 +0000
commitf9f89cf5cb42a6540995bbb0c277e1f2e6b222b2 (patch)
tree1cede1c4f11f529e00bf48036778801160dc6e56 /apps/plugins/vu_meter.c
parenta25153be6b0af205aa0c82dd2f3cba41221df2e5 (diff)
downloadrockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.tar.gz
rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.tar.bz2
rockbox-f9f89cf5cb42a6540995bbb0c277e1f2e6b222b2.zip
RaaA: Fix write locations of plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/vu_meter.c')
-rw-r--r--apps/plugins/vu_meter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index 077a6e92f4..8877d7f460 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -467,7 +467,7 @@ void calc_scales(void)
}
void load_settings(void) {
- int fp = rb->open(PLUGIN_DEMOS_DIR "/.vu_meter", O_RDONLY);
+ int fp = rb->open(PLUGIN_DEMOS_DATA_DIR "/.vu_meter", O_RDONLY);
if(fp>=0) {
rb->read(fp, &vumeter_settings, sizeof(struct saved_settings));
rb->close(fp);
@@ -479,7 +479,7 @@ void load_settings(void) {
}
void save_settings(void) {
- int fp = rb->creat(PLUGIN_DEMOS_DIR "/.vu_meter", 0666);
+ int fp = rb->creat(PLUGIN_DEMOS_DATA_DIR "/.vu_meter", 0666);
if(fp >= 0) {
rb->write (fp, &vumeter_settings, sizeof(struct saved_settings));
rb->close(fp);