1
0
Fork 0
forked from len0rd/rockbox

fix mono and hwcodec classic_statusbar so they actually load

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23673 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-11-20 07:05:22 +00:00
parent 9656bc982f
commit 6ec176cc8e
3 changed files with 115 additions and 22 deletions

View file

@ -433,12 +433,20 @@ STOP
mkdir "$rbdir/wps/classic_statusbar", 0777;
glob_copy("$ROOT/wps/classic_statusbar/*.bmp", "$rbdir/wps/classic_statusbar");
if ($swcodec) {
copy("$ROOT/wps/classic_statusbar.sbs", "$rbdir/wps");
if ($depth > 1) {
copy("$ROOT/wps/classic_statusbar.sbs", "$rbdir/wps");
} else {
copy("$ROOT/wps/classic_statusbar.mono.sbs", "$rbdir/wps");
}
} else {
copy("$ROOT/wps/classic_statusbar-hwcodec.sbs", "$rbdir/wps/classic_statusbar.sbs");
copy("$ROOT/wps/classic_statusbar.112x64x1.sbs", "$rbdir/wps/classic_statusbar.sbs");
}
system("touch $rbdir/wps/rockbox_none.sbs");
copy("$rbdir/wps/classic_statusbar.sbs", "$rbdir/wps/classic_statusbar.rsbs");
if ($remote_depth != $depth) {
copy("$ROOT/wps/classic_statusbar.mono.sbs", "$rbdir/wps/classic_statusbar.rsbs");
} else {
copy("$rbdir/wps/classic_statusbar.sbs", "$rbdir/wps/classic_statusbar.rsbs");
}
copy("$rbdir/wps/rockbox_none.sbs", "$rbdir/wps/rockbox_none.rsbs");
# and the info file