Don't keep trying to load a non-existing default.wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2444 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5f8ac6d677
commit
8254249380
1 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,8 @@ bool wps_load_custom(char* file)
|
||||||
int fd;
|
int fd;
|
||||||
bool special = true;
|
bool special = true;
|
||||||
|
|
||||||
|
wps_loaded = true;
|
||||||
|
|
||||||
/* default wps file? */
|
/* default wps file? */
|
||||||
if (!file) {
|
if (!file) {
|
||||||
file = WPS_CONFIG;
|
file = WPS_CONFIG;
|
||||||
|
@ -149,7 +151,6 @@ bool wps_load_custom(char* file)
|
||||||
sleep(HZ);
|
sleep(HZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
wps_loaded = true;
|
|
||||||
return numread > 0;
|
return numread > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue