mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
fs.mitm: Cache IStorageInterfaces, store meta on SD instead of memory.
This commit is contained in:
parent
5d0aabaa44
commit
78a47dba6d
7 changed files with 176 additions and 39 deletions
|
@ -21,6 +21,7 @@
|
|||
class Utils {
|
||||
public:
|
||||
static bool IsSdInitialized();
|
||||
|
||||
static Result OpenSdFile(const char *fn, int flags, FsFile *out);
|
||||
static Result OpenSdFileForAtmosphere(u64 title_id, const char *fn, int flags, FsFile *out);
|
||||
static Result OpenRomFSSdFile(u64 title_id, const char *fn, int flags, FsFile *out);
|
||||
|
@ -31,6 +32,8 @@ class Utils {
|
|||
static Result OpenRomFSFile(FsFileSystem *fs, u64 title_id, const char *fn, int flags, FsFile *out);
|
||||
static Result OpenRomFSDir(FsFileSystem *fs, u64 title_id, const char *path, FsDir *out);
|
||||
|
||||
static Result SaveSdFileForAtmosphere(u64 title_id, const char *fn, void *data, size_t size);
|
||||
|
||||
static bool HasSdRomfsContent(u64 title_id);
|
||||
|
||||
/* SD card Initialization + MitM detection. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue