mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
fs.mitm: Hog less CPU time if SD card not inserted
This commit is contained in:
parent
3fa973f430
commit
bbed78149c
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue