From b964c69da838b2cc1c32106c9775d5b8dc119a30 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sat, 24 Feb 2018 21:38:53 -0500 Subject: [PATCH] Added comments regarding direct FS usage in fs.h. --- nx/include/switch/services/fs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nx/include/switch/services/fs.h b/nx/include/switch/services/fs.h index 14546685..4ea337eb 100644 --- a/nx/include/switch/services/fs.h +++ b/nx/include/switch/services/fs.h @@ -1,6 +1,7 @@ /** * @file fs.h * @brief Filesystem (fsp-srv) service IPC wrapper. + * Normally applications should just use standard stdio not FS-serv directly. However this can be used if obtaining a FsFileSystem, FsFile, or FsStorage, for mounting with fs_dev/romfs_dev. * @author plutoo * @author yellows8 * @copyright libnx Authors @@ -91,7 +92,9 @@ void fsExit(void); Service* fsGetServiceSession(void); +/// Do not call this directly, see fs_dev.h. Result fsMountSdcard(FsFileSystem* out); + Result fsMountSaveData(FsFileSystem* out, u8 inval, FsSave *save); Result fsOpenDataStorageByCurrentProcess(FsStorage* out); // todo: Rest of commands here