Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nx/include/switch/services/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ Result fsGetRightsIdAndKeyGenerationByPath(const char* path, FsContentAttributes

Result fsGetContentStorageInfoIndex(s32 *out); ///< [19.0.0+]

Result fsDisableAutoSaveDataCreation(void);
Result fsDisableAutoSaveDataCreation(void); ///< [1.0.0-21.2.0]

Result fsSetGlobalAccessLogMode(u32 mode);
Result fsGetGlobalAccessLogMode(u32* out_mode);
Expand Down
3 changes: 3 additions & 0 deletions nx/source/services/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,9 @@ Result fsGetContentStorageInfoIndex(s32 *out) {
}

Result fsDisableAutoSaveDataCreation(void) {
if (hosversionAtLeast(22,0,0))
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);

return _fsCmdNoIO(&g_fsSrv, 1003);
}

Expand Down
Loading