mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-30 06:32:39 +02:00
fs.mitm: Hog less CPU time if SD card not inserted
This commit is contained in:
parent
3fa973f430
commit
bbed78149c
@ -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 New Issue
Block a user