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

Function fsExemptFromSession

libctru/source/services/fs.c:74–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void fsExemptFromSession(FS_Archive archive)
75{
76 int freeIndex = -1;
77 for (int i = 0; i < FS_MAX_EXEMPT_ARCHIVE_HANDLES; i++)
78 {
79 if (fsExemptArchives[i] == archive)
80 return;
81
82 if (freeIndex == -1 && fsExemptArchives[i] == 0)
83 freeIndex = i;
84 }
85
86 if (freeIndex != -1)
87 fsExemptArchives[freeIndex] = archive;
88}
89
90void fsUnexemptFromSession(FS_Archive archive)
91{

Callers 1

archiveMountSdmcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected