fs.mitm: Hog less CPU time if SD card not inserted
This commit is contained in:
1 parent
3fa973f430
commit
bbed78149c
1 file changed
+1
-1
@@ -69,7 +69,7 @@ void Utils::InitializeSdThreadFunc(void *args) {
|
|||||||
|
|
||||||
/* Mount SD. */
|
/* Mount SD. */
|
||||||
while (R_FAILED(fsMountSdcard(&g_sd_filesystem))) {
|
while (R_FAILED(fsMountSdcard(&g_sd_filesystem))) {
|
||||||
svcSleepThread(1000ULL);
|
svcSleepThread(1000000ULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Back up CAL0, if it's not backed up already. */
|
/* Back up CAL0, if it's not backed up already. */
|
||||||
|
|||||||
Reference in new issue
Block a user