mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
fix checkwps
Change-Id: Ie3bdfe18db6f8279f3575b253519fe4820649898
This commit is contained in:
parent
aaf30651df
commit
5aa4bf6faa
1 changed files with 2 additions and 1 deletions
|
@ -294,6 +294,7 @@ int main(int argc, char **argv)
|
||||||
while (argv[filearg]) {
|
while (argv[filearg]) {
|
||||||
const char* name = argv[filearg++];
|
const char* name = argv[filearg++];
|
||||||
char *ext = strrchr(name, '.');
|
char *ext = strrchr(name, '.');
|
||||||
|
struct skin_stats stats;
|
||||||
printf("Checking %s...\n", name);
|
printf("Checking %s...\n", name);
|
||||||
if (!ext)
|
if (!ext)
|
||||||
{
|
{
|
||||||
|
@ -321,7 +322,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
wps_screen = &screens[screen];
|
wps_screen = &screens[screen];
|
||||||
|
|
||||||
res = skin_data_load(screen, &wps, name, true);
|
res = skin_data_load(screen, &wps, name, true, &stats);
|
||||||
|
|
||||||
if (!res) {
|
if (!res) {
|
||||||
printf("WPS parsing failure\n");
|
printf("WPS parsing failure\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue