MCPcopy Create free account
hub / github.com/devkitPro/libctru / archiveUnmountAll

Function archiveUnmountAll

libctru/source/archive_dev.c:460–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460Result archiveUnmountAll(void)
461{
462 u32 total = sizeof(archive_devices) / sizeof(archive_fsdevice);
463
464 if(!archive_initialized) return 0;
465
466 for(u32 i = 0; i < total; i++)
467 {
468 _archiveUnmountDeviceStruct(&archive_devices[i]);
469 }
470
471 archive_initialized = false;
472
473 return 0;
474}
475
476/*! Open a file
477 *

Callers 1

__appExitFunction · 0.85

Calls 1

Tested by

no test coverage detected