mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Look for dedicated bitmaps for the LCD dimensions when building the WPS (in a subdir, for example iCatcher/160x128x16/)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9938 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cfc3c9e716
commit
3b52485eb3
1 changed files with 9 additions and 3 deletions
|
@ -132,7 +132,12 @@ sub copywps {
|
|||
}
|
||||
close(WPSFILE);
|
||||
|
||||
if (-e "$dir/$wpsdir") {
|
||||
if (-e "$dir/$wps_prefix/$req_g") {
|
||||
foreach $file (@filelist) {
|
||||
system("cp $dir/$wps_prefix/$req_g/$file .rockbox/wps/$wps_prefix/");
|
||||
}
|
||||
}
|
||||
elsif (-e "$dir/$wps_prefix") {
|
||||
foreach $file (@filelist) {
|
||||
system("cp $dir/$wps_prefix/$file .rockbox/wps/$wps_prefix/");
|
||||
}
|
||||
|
@ -239,8 +244,9 @@ while(<WPS>) {
|
|||
foreach $d (@depthlist) {
|
||||
next if ($d > $rdepth);
|
||||
|
||||
$req_g_wps = $wps_prefix . "." . $rwidth . "x" . $rheight
|
||||
. "x" . $d . ".wps";
|
||||
$req_g = $rwidth . "x" . $rheight . "x" . $d;
|
||||
|
||||
$req_g_wps = $wps_prefix . "." . $req_g . ".wps";
|
||||
last if (-e "$wpsdir/$req_g_wps");
|
||||
}
|
||||
$req_t_wps = $wps_prefix . ".txt" . ".wps";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue