nxdumptool/source/fsext.h

18 lines
588 B
C
Raw Normal View History

2018-05-15 14:57:40 +02:00
#pragma once
#include <switch/types.h>
#include <switch/services/fs.h>
// IFileSystemProxy
2018-05-16 18:21:13 +02:00
Result fsOpenGameCardStorage(FsStorage* out, u32 handle, u32 partition);
Result fsMountGameCard(FsFileSystem* out, u32 handle, u32 partition);
2018-05-15 14:57:40 +02:00
// IDeviceOperator
Result fsDeviceOperatorIsGameCardInserted(FsDeviceOperator* d, bool* out);
Result fsDeviceOperatorGetGameCardHandle(FsDeviceOperator* d, u32* out);
Result fsDeviceOperatorUpdatePartitionInfo(FsDeviceOperator* d, u32 handle, u32* out_title_version, u64* out_title_id);
2018-05-15 14:57:40 +02:00
// FsStorage
Result fsStorageGetSize(FsStorage* s, u64* out);