MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / mountSystemSave

Method mountSystemSave

switch/source/filesystem.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44Result FileSystem::mountSystemSave(FsFileSystem* fileSystem, u64 systemSaveDataId, u8 spaceId)
45{
46 FsSaveDataAttribute attr = {};
47 attr.system_save_data_id = systemSaveDataId;
48 attr.save_data_type = FsSaveDataType_System;
49 attr.save_data_rank = FsSaveDataRank_Primary;
50 return fsOpenSaveDataFileSystemBySystemSaveDataId(fileSystem, (FsSaveDataSpaceId)spaceId, &attr);
51}
52
53int FileSystem::mountDevice(FsFileSystem fs)
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected