diff --git a/src/LibHac/Fs/Common/DirectoryPathParser.cs b/src/LibHac/Fs/Common/DirectoryPathParser.cs index 6eea2a3e..8db7ebe4 100644 --- a/src/LibHac/Fs/Common/DirectoryPathParser.cs +++ b/src/LibHac/Fs/Common/DirectoryPathParser.cs @@ -9,7 +9,7 @@ namespace LibHac.Fs; /// /// Iterates through each directory in a path beginning with the root directory. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) [NonCopyableDisposable] public ref struct DirectoryPathParser { diff --git a/src/LibHac/Fs/Common/FileStorage.cs b/src/LibHac/Fs/Common/FileStorage.cs index e6667c1c..bdd06d76 100644 --- a/src/LibHac/Fs/Common/FileStorage.cs +++ b/src/LibHac/Fs/Common/FileStorage.cs @@ -11,7 +11,7 @@ namespace LibHac.Fs; /// /// Allows interacting with an via an interface. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class FileStorage : IStorage { private const long InvalidSize = -1; @@ -155,7 +155,7 @@ public class FileStorage : IStorage /// interface. The opened file will automatically be closed when the /// is disposed. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class FileStorageBasedFileSystem : FileStorage { private SharedRef _baseFileSystem; @@ -198,7 +198,7 @@ public class FileStorageBasedFileSystem : FileStorage /// Provides an interface for interacting with an opened file from a mounted file system. /// The caller may choose whether or not the file will be closed when the is disposed. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class FileHandleStorage : IStorage { private const long InvalidSize = -1; diff --git a/src/LibHac/Fs/Common/Path.cs b/src/LibHac/Fs/Common/Path.cs index aaa52a1b..c34b368c 100644 --- a/src/LibHac/Fs/Common/Path.cs +++ b/src/LibHac/Fs/Common/Path.cs @@ -83,7 +83,7 @@ public static class PathExtensions /// ensure a write buffer is allocated and copy the input path to it. will /// directly use the input buffer without copying. If this method is used, the caller must ensure the path /// is normalized before passing it to . -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) [DebuggerDisplay("{" + nameof(ToString) + "(),nq}")] [NonCopyableDisposable] public ref struct Path diff --git a/src/LibHac/Fs/Common/PathFormatter.cs b/src/LibHac/Fs/Common/PathFormatter.cs index 16075f43..ef95288e 100644 --- a/src/LibHac/Fs/Common/PathFormatter.cs +++ b/src/LibHac/Fs/Common/PathFormatter.cs @@ -13,7 +13,7 @@ namespace LibHac.Fs; /// /// Contains functions for working with path formatting and normalization. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class PathFormatter { private static ReadOnlySpan InvalidCharacter => diff --git a/src/LibHac/Fs/Common/PathNormalizer.cs b/src/LibHac/Fs/Common/PathNormalizer.cs index 91251b29..4d49f715 100644 --- a/src/LibHac/Fs/Common/PathNormalizer.cs +++ b/src/LibHac/Fs/Common/PathNormalizer.cs @@ -10,7 +10,7 @@ namespace LibHac.Fs; /// /// Contains functions for doing with basic path normalization. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class PathNormalizer { private enum PathState diff --git a/src/LibHac/Fs/Common/PathUtility.cs b/src/LibHac/Fs/Common/PathUtility.cs index a3984590..e62032af 100644 --- a/src/LibHac/Fs/Common/PathUtility.cs +++ b/src/LibHac/Fs/Common/PathUtility.cs @@ -12,7 +12,7 @@ namespace LibHac.Fs; /// /// Contains various utility functions for working with paths. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class PathUtility { public static void Replace(Span buffer, byte currentChar, byte newChar) diff --git a/src/LibHac/Fs/Common/Range.cs b/src/LibHac/Fs/Common/Range.cs index 41a55d9a..d77d58ab 100644 --- a/src/LibHac/Fs/Common/Range.cs +++ b/src/LibHac/Fs/Common/Range.cs @@ -8,7 +8,7 @@ namespace LibHac.Fs; /// /// Represents a contiguous range of offsets in a piece of data. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public readonly struct Range : IEquatable, IComparable { public readonly long Offset; diff --git a/src/LibHac/Fs/Common/WindowsPath.cs b/src/LibHac/Fs/Common/WindowsPath.cs index 977450fc..8f6e039e 100644 --- a/src/LibHac/Fs/Common/WindowsPath.cs +++ b/src/LibHac/Fs/Common/WindowsPath.cs @@ -10,7 +10,7 @@ namespace LibHac.Fs; /// /// Contains functions for working with Windows paths. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class WindowsPath { private const int WindowsDriveLength = 2; diff --git a/src/LibHac/Fs/Fsa/DirectoryAccessor.cs b/src/LibHac/Fs/Fsa/DirectoryAccessor.cs index b08a98aa..92a677f5 100644 --- a/src/LibHac/Fs/Fsa/DirectoryAccessor.cs +++ b/src/LibHac/Fs/Fsa/DirectoryAccessor.cs @@ -8,7 +8,7 @@ namespace LibHac.Fs.Impl; /// /// Provides access to a directory in a mounted file system and handles closing the directory. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class DirectoryAccessor : IDisposable { private UniqueRef _directory; diff --git a/src/LibHac/Fs/Fsa/FileAccessor.cs b/src/LibHac/Fs/Fsa/FileAccessor.cs index 5352accb..33694d73 100644 --- a/src/LibHac/Fs/Fsa/FileAccessor.cs +++ b/src/LibHac/Fs/Fsa/FileAccessor.cs @@ -19,7 +19,7 @@ internal enum WriteState /// /// Provides access to a mount and handles caching it. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class FileAccessor : IDisposable { private const string NeedFlushMessage = "Error: nn::fs::CloseFile() failed because the file was not flushed.\n"; diff --git a/src/LibHac/Fs/Fsa/FileSystemAccessor.cs b/src/LibHac/Fs/Fsa/FileSystemAccessor.cs index 75f710a6..4d5bec42 100644 --- a/src/LibHac/Fs/Fsa/FileSystemAccessor.cs +++ b/src/LibHac/Fs/Fsa/FileSystemAccessor.cs @@ -17,7 +17,7 @@ namespace LibHac.Fs.Impl; /// system, whether caching is being used, how to get a save file system's and /// the target used to include a save file system in a multi-commit operation. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class FileSystemAccessor : IDisposable { private const string EmptyMountNameMessage = "Error: Mount failed because the mount name was empty.\n"; diff --git a/src/LibHac/Fs/Fsa/IDirectory.cs b/src/LibHac/Fs/Fsa/IDirectory.cs index 389a7109..ad7266fb 100644 --- a/src/LibHac/Fs/Fsa/IDirectory.cs +++ b/src/LibHac/Fs/Fsa/IDirectory.cs @@ -6,7 +6,7 @@ namespace LibHac.Fs.Fsa; /// /// Provides an interface for enumerating the child entries of a directory. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public abstract class IDirectory : IDisposable { public virtual void Dispose() { } diff --git a/src/LibHac/Fs/Fsa/IFile.cs b/src/LibHac/Fs/Fsa/IFile.cs index dac96ba5..c519787a 100644 --- a/src/LibHac/Fs/Fsa/IFile.cs +++ b/src/LibHac/Fs/Fsa/IFile.cs @@ -19,7 +19,7 @@ namespace LibHac.Fs.Fsa; /// - If is called on an offset past the end of the , /// the mode is set and the file supports expansion, /// the file will be expanded so that it is large enough to contain the written data. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public abstract class IFile : IDisposable { public virtual void Dispose() { } diff --git a/src/LibHac/Fs/Fsa/IFileSystem.cs b/src/LibHac/Fs/Fsa/IFileSystem.cs index 5e5b624f..b480546e 100644 --- a/src/LibHac/Fs/Fsa/IFileSystem.cs +++ b/src/LibHac/Fs/Fsa/IFileSystem.cs @@ -8,7 +8,7 @@ namespace LibHac.Fs.Fsa; /// /// Provides an interface for accessing a file system. / is used as the path delimiter. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public abstract class IFileSystem : IDisposable { public virtual void Dispose() { } diff --git a/src/LibHac/Fs/Fsa/MountTable.cs b/src/LibHac/Fs/Fsa/MountTable.cs index 07fcc727..329ef7ce 100644 --- a/src/LibHac/Fs/Fsa/MountTable.cs +++ b/src/LibHac/Fs/Fsa/MountTable.cs @@ -13,7 +13,7 @@ namespace LibHac.Fs.Impl; /// Holds a list of s that are indexed by their name. /// These may be retrieved or removed using their name as a key. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class MountTable : IDisposable { private LinkedList _fileSystemList; diff --git a/src/LibHac/Fs/Fsa/MountUtility.cs b/src/LibHac/Fs/Fsa/MountUtility.cs index 65a0cdb5..56188f8e 100644 --- a/src/LibHac/Fs/Fsa/MountUtility.cs +++ b/src/LibHac/Fs/Fsa/MountUtility.cs @@ -14,7 +14,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions for managing mounted file systems. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class MountUtility { /// diff --git a/src/LibHac/Fs/Fsa/Registrar.cs b/src/LibHac/Fs/Fsa/Registrar.cs index 5ac0b76a..70b934d9 100644 --- a/src/LibHac/Fs/Fsa/Registrar.cs +++ b/src/LibHac/Fs/Fsa/Registrar.cs @@ -23,7 +23,7 @@ public interface IUnmountHookInvoker : IDisposable /// /// Contains functions for registering and unregistering mounted s. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class Registrar { private class UnmountHookFileSystem : IFileSystem diff --git a/src/LibHac/Fs/Fsa/UserDirectory.cs b/src/LibHac/Fs/Fsa/UserDirectory.cs index cb24cdc6..8b8b0989 100644 --- a/src/LibHac/Fs/Fsa/UserDirectory.cs +++ b/src/LibHac/Fs/Fsa/UserDirectory.cs @@ -10,7 +10,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions for interacting with opened directories. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) [SkipLocalsInit] public static class UserDirectory { diff --git a/src/LibHac/Fs/Fsa/UserFile.cs b/src/LibHac/Fs/Fsa/UserFile.cs index 89a6a630..a25e9aff 100644 --- a/src/LibHac/Fs/Fsa/UserFile.cs +++ b/src/LibHac/Fs/Fsa/UserFile.cs @@ -10,7 +10,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions for interacting with opened files. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) [SkipLocalsInit] public static class UserFile { diff --git a/src/LibHac/Fs/Fsa/UserFileSystem.cs b/src/LibHac/Fs/Fsa/UserFileSystem.cs index 053db768..97472a9a 100644 --- a/src/LibHac/Fs/Fsa/UserFileSystem.cs +++ b/src/LibHac/Fs/Fsa/UserFileSystem.cs @@ -14,7 +14,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions for interacting with mounted file systems. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) [SkipLocalsInit] public static class UserFileSystem { diff --git a/src/LibHac/Fs/Fsa/UserFileSystemForDebug.cs b/src/LibHac/Fs/Fsa/UserFileSystemForDebug.cs index 08899a91..375bbd80 100644 --- a/src/LibHac/Fs/Fsa/UserFileSystemForDebug.cs +++ b/src/LibHac/Fs/Fsa/UserFileSystemForDebug.cs @@ -6,7 +6,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions meant for debug use for interacting with mounted file systems. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class UserFileSystemForDebug { internal static Result GetFileTimeStampRawForDebug(this FileSystemClientImpl fs, out FileTimeStampRaw timeStamp, diff --git a/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs b/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs index dde11262..974df1f3 100644 --- a/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs +++ b/src/LibHac/Fs/Fsa/UserFileSystemPrivate.cs @@ -9,7 +9,7 @@ namespace LibHac.Fs.Fsa; /// /// Contains functions meant for internal use for interacting with mounted file systems. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class UserFileSystemPrivate { public static Result CreateFile(this FileSystemClient fs, U8Span path, long size, CreateFileOptions option) diff --git a/src/LibHac/Fs/Fsa/UserMountTable.cs b/src/LibHac/Fs/Fsa/UserMountTable.cs index dd860cc2..e8196e63 100644 --- a/src/LibHac/Fs/Fsa/UserMountTable.cs +++ b/src/LibHac/Fs/Fsa/UserMountTable.cs @@ -16,7 +16,7 @@ internal struct UserMountTableGlobals /// /// Contains functions for adding, removing and retrieving s from the mount table. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal static class UserMountTable { public static Result Register(this FileSystemClientImpl fs, ref UniqueRef fileSystem) diff --git a/src/LibHac/Fs/IStorage.cs b/src/LibHac/Fs/IStorage.cs index 02b93c3a..357f378b 100644 --- a/src/LibHac/Fs/IStorage.cs +++ b/src/LibHac/Fs/IStorage.cs @@ -8,7 +8,7 @@ namespace LibHac.Fs; /// /// Provides an interface for reading and writing a sequence of bytes. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IStorage : IDisposable { public virtual void Dispose() { } diff --git a/src/LibHac/Fs/Impl/IFileDataCache.cs b/src/LibHac/Fs/Impl/IFileDataCache.cs index bfdd01ea..483eb6a5 100644 --- a/src/LibHac/Fs/Impl/IFileDataCache.cs +++ b/src/LibHac/Fs/Impl/IFileDataCache.cs @@ -10,7 +10,7 @@ namespace LibHac.Fs.Impl; /// /// Provides a system for caching reads to one or more file systems. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal abstract class IFileDataCache : IDisposable { public abstract void Dispose(); diff --git a/src/LibHac/Fs/Impl/StorageServiceObjectAdapter.cs b/src/LibHac/Fs/Impl/StorageServiceObjectAdapter.cs index 51664c4c..d2a7bd29 100644 --- a/src/LibHac/Fs/Impl/StorageServiceObjectAdapter.cs +++ b/src/LibHac/Fs/Impl/StorageServiceObjectAdapter.cs @@ -11,7 +11,7 @@ namespace LibHac.Fs.Impl; /// An adapter for using an service object as an . Used /// when receiving a Horizon IPC storage object so it can be used as an locally. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class StorageServiceObjectAdapter : IStorage { private SharedRef _baseStorage; diff --git a/src/LibHac/Fs/MemoryStorage.cs b/src/LibHac/Fs/MemoryStorage.cs index 0e4bf511..76c7b0c1 100644 --- a/src/LibHac/Fs/MemoryStorage.cs +++ b/src/LibHac/Fs/MemoryStorage.cs @@ -7,7 +7,7 @@ namespace LibHac.Fs; /// /// Allows interacting with a array via the interface. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class MemoryStorage : IStorage { private byte[] _storageBuffer; diff --git a/src/LibHac/Fs/ReadOnlyFileSystem.cs b/src/LibHac/Fs/ReadOnlyFileSystem.cs index e8a15436..ce2e6e46 100644 --- a/src/LibHac/Fs/ReadOnlyFileSystem.cs +++ b/src/LibHac/Fs/ReadOnlyFileSystem.cs @@ -9,7 +9,7 @@ namespace LibHac.Fs; /// /// Wraps an and only allows read operations on it. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class ReadOnlyFile : IFile { private UniqueRef _baseFile; @@ -71,7 +71,7 @@ internal class ReadOnlyFile : IFile /// /// Wraps an and only allows read operations on it. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ReadOnlyFileSystem : IFileSystem { private SharedRef _baseFileSystem; diff --git a/src/LibHac/Fs/SubStorage.cs b/src/LibHac/Fs/SubStorage.cs index e6f23741..bdbb93d3 100644 --- a/src/LibHac/Fs/SubStorage.cs +++ b/src/LibHac/Fs/SubStorage.cs @@ -18,7 +18,7 @@ namespace LibHac.Fs; /// the SubStorage as resizable. The SubStorage may only be resized if the end of the SubStorage /// is located at the end of the base storage. When resizing the SubStorage, the base storage /// will be resized to the appropriate length. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) /// public class SubStorage : IStorage { diff --git a/src/LibHac/FsSrv/DebugConfigurationService.cs b/src/LibHac/FsSrv/DebugConfigurationService.cs index dee37b2c..9d10b64f 100644 --- a/src/LibHac/FsSrv/DebugConfigurationService.cs +++ b/src/LibHac/FsSrv/DebugConfigurationService.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv; /// /// Handles debug configuration calls for . /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public struct DebugConfigurationService { private DebugConfigurationServiceImpl _serviceImpl; @@ -63,7 +63,7 @@ public struct DebugConfigurationService /// /// Manages a key-value list of debug settings. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class DebugConfigurationServiceImpl : IDisposable { private Configuration _config; diff --git a/src/LibHac/FsSrv/FileSystemProxyImpl.cs b/src/LibHac/FsSrv/FileSystemProxyImpl.cs index 71ae758f..51c96bec 100644 --- a/src/LibHac/FsSrv/FileSystemProxyImpl.cs +++ b/src/LibHac/FsSrv/FileSystemProxyImpl.cs @@ -57,7 +57,7 @@ internal struct FileSystemProxyImplGlobals /// /// Dispatches calls to the various file system service objects. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class FileSystemProxyImpl : IFileSystemProxy, IFileSystemProxyForLoader { private FileSystemProxyCoreImpl _fsProxyCore; diff --git a/src/LibHac/FsSrv/FsCreator/FatFileSystemCreator.cs b/src/LibHac/FsSrv/FsCreator/FatFileSystemCreator.cs index c717f3bd..46187f11 100644 --- a/src/LibHac/FsSrv/FsCreator/FatFileSystemCreator.cs +++ b/src/LibHac/FsSrv/FsCreator/FatFileSystemCreator.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSrv.FsCreator; /// /// Handles creating FAT file systems. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class FatFileSystemCreator : IFatFileSystemCreator { // ReSharper disable once NotAccessedField.Local diff --git a/src/LibHac/FsSrv/FsCreator/SaveDataResultConvertFileSystem.cs b/src/LibHac/FsSrv/FsCreator/SaveDataResultConvertFileSystem.cs index a9bcb457..60813646 100644 --- a/src/LibHac/FsSrv/FsCreator/SaveDataResultConvertFileSystem.cs +++ b/src/LibHac/FsSrv/FsCreator/SaveDataResultConvertFileSystem.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSrv.FsCreator; /// Wraps an , converting its returned s /// to save-data-specific s. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataResultConvertFile : IResultConvertFile { private bool _isReconstructible; @@ -30,7 +30,7 @@ public class SaveDataResultConvertFile : IResultConvertFile /// Wraps an , converting its returned s /// to save-data-specific s. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataResultConvertDirectory : IResultConvertDirectory { private bool _isReconstructible; @@ -51,7 +51,7 @@ public class SaveDataResultConvertDirectory : IResultConvertDirectory /// Wraps an , converting its returned s /// to save-data-specific s. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataResultConvertFileSystem : IResultConvertFileSystem { private bool _isReconstructible; diff --git a/src/LibHac/FsSrv/FsCreator/SaveDataResultConverter.cs b/src/LibHac/FsSrv/FsCreator/SaveDataResultConverter.cs index 98df4f6b..53b7a524 100644 --- a/src/LibHac/FsSrv/FsCreator/SaveDataResultConverter.cs +++ b/src/LibHac/FsSrv/FsCreator/SaveDataResultConverter.cs @@ -6,7 +6,7 @@ namespace LibHac.FsSrv.FsCreator; /// /// Contains functions for converting internal save data s to external s. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public static class SaveDataResultConverter { private static Result ConvertCorruptedResult(Result result) diff --git a/src/LibHac/FsSrv/Impl/AccessControl.cs b/src/LibHac/FsSrv/Impl/AccessControl.cs index 8c07bc4d..dd0b2f22 100644 --- a/src/LibHac/FsSrv/Impl/AccessControl.cs +++ b/src/LibHac/FsSrv/Impl/AccessControl.cs @@ -27,7 +27,7 @@ internal struct AccessControlGlobals /// /// Each process has its own FS permissions. Every time a process tries to access various FS resources /// or perform certain actions, this class determines if the process has the permissions to do so. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class AccessControl { private Optional _accessBits; diff --git a/src/LibHac/FsSrv/Impl/DeviceEventSimulationStorage.cs b/src/LibHac/FsSrv/Impl/DeviceEventSimulationStorage.cs index 7ffe4169..53a70155 100644 --- a/src/LibHac/FsSrv/Impl/DeviceEventSimulationStorage.cs +++ b/src/LibHac/FsSrv/Impl/DeviceEventSimulationStorage.cs @@ -8,7 +8,7 @@ namespace LibHac.FsSrv.Impl; /// /// An for simulating device failures /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class DeviceEventSimulationStorage : IStorage { private SharedRef _baseStorage; diff --git a/src/LibHac/FsSrv/Impl/FileSystemInterfaceAdapter.cs b/src/LibHac/FsSrv/Impl/FileSystemInterfaceAdapter.cs index 04250601..66c7b466 100644 --- a/src/LibHac/FsSrv/Impl/FileSystemInterfaceAdapter.cs +++ b/src/LibHac/FsSrv/Impl/FileSystemInterfaceAdapter.cs @@ -20,7 +20,7 @@ namespace LibHac.FsSrv.Impl; /// /// Wraps an to allow interfacing with it via the interface over IPC. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class FileInterfaceAdapter : IFileSf { private SharedRef _parentFs; @@ -181,7 +181,7 @@ public class FileInterfaceAdapter : IFileSf /// /// Wraps an to allow interfacing with it via the interface over IPC. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class DirectoryInterfaceAdapter : IDirectorySf { private SharedRef _parentFs; @@ -241,7 +241,7 @@ public class DirectoryInterfaceAdapter : IDirectorySf /// Wraps an to allow interfacing with it via the interface over IPC. /// All incoming paths are normalized before they are passed to the base . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class FileSystemInterfaceAdapter : IFileSystemSf { private SharedRef _baseFileSystem; diff --git a/src/LibHac/FsSrv/Impl/LocationResolverSet.cs b/src/LibHac/FsSrv/Impl/LocationResolverSet.cs index 69ea4ee6..17705c28 100644 --- a/src/LibHac/FsSrv/Impl/LocationResolverSet.cs +++ b/src/LibHac/FsSrv/Impl/LocationResolverSet.cs @@ -39,7 +39,7 @@ internal struct LocationResolverSetGlobals /// /// Manages resolving the location of NCAs via the lr service. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class LocationResolverSet : IDisposable { private Array5> _resolvers; diff --git a/src/LibHac/FsSrv/Impl/MultiCommitManager.cs b/src/LibHac/FsSrv/Impl/MultiCommitManager.cs index af60437d..3f83ac21 100644 --- a/src/LibHac/FsSrv/Impl/MultiCommitManager.cs +++ b/src/LibHac/FsSrv/Impl/MultiCommitManager.cs @@ -40,7 +40,7 @@ internal struct MultiCommitManagerGlobals /// Save data image files are designed so that minimal changes are made when fully committing a provisionally committed save. /// However if any commit fails for any reason, all other saves in the multi-commit will still be committed. /// This can especially cause issues with directory save data where finishing a commit is much more involved. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) /// internal class MultiCommitManager : IMultiCommitManager { diff --git a/src/LibHac/FsSrv/Impl/ProgramIndexMapInfoManager.cs b/src/LibHac/FsSrv/Impl/ProgramIndexMapInfoManager.cs index f18c9424..c4438f2e 100644 --- a/src/LibHac/FsSrv/Impl/ProgramIndexMapInfoManager.cs +++ b/src/LibHac/FsSrv/Impl/ProgramIndexMapInfoManager.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSrv.Impl; /// /// Keeps track of the program IDs and program indexes of each program in a multi-program application. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ProgramIndexMapInfoManager : IDisposable { private LinkedList _mapEntries; diff --git a/src/LibHac/FsSrv/Impl/ProgramInfo.cs b/src/LibHac/FsSrv/Impl/ProgramInfo.cs index 70ad6f6d..5bef0105 100644 --- a/src/LibHac/FsSrv/Impl/ProgramInfo.cs +++ b/src/LibHac/FsSrv/Impl/ProgramInfo.cs @@ -60,7 +60,7 @@ internal struct ProgramInfoGlobals /// /// Contains the program ID, storage location and FS permissions of a running process. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ProgramInfo { private readonly ulong _processId; diff --git a/src/LibHac/FsSrv/Impl/ProgramRegistryManager.cs b/src/LibHac/FsSrv/Impl/ProgramRegistryManager.cs index be69cc92..553fa400 100644 --- a/src/LibHac/FsSrv/Impl/ProgramRegistryManager.cs +++ b/src/LibHac/FsSrv/Impl/ProgramRegistryManager.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSrv.Impl; /// /// Handles adding, removing, and accessing from the . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class ProgramRegistryManager : IDisposable { // Note: FS keeps each ProgramInfo in a shared_ptr, but there aren't any non-memory resources diff --git a/src/LibHac/FsSrv/Impl/SaveDataExtraDataAccessorCacheManager.cs b/src/LibHac/FsSrv/Impl/SaveDataExtraDataAccessorCacheManager.cs index a895928c..b5d0f856 100644 --- a/src/LibHac/FsSrv/Impl/SaveDataExtraDataAccessorCacheManager.cs +++ b/src/LibHac/FsSrv/Impl/SaveDataExtraDataAccessorCacheManager.cs @@ -10,13 +10,13 @@ namespace LibHac.FsSrv.Impl; /// /// Holds the s for opened save data file systems. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataExtraDataAccessorCacheManager : ISaveDataExtraDataAccessorObserver { /// /// Holds a single cached extra data accessor identified by its save data ID and save data space ID. /// - /// Based on FS 14.1.0 (nnSdk 14.3.0) + /// Based on nnSdk 14.3.0 (FS 14.1.0) [NonCopyable] private struct Cache : IDisposable { diff --git a/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheManager.cs b/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheManager.cs index f2bf5858..bafc9d90 100644 --- a/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheManager.cs +++ b/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheManager.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv.Impl; /// Manages a list of cached save data file systems. Each file system is registered and retrieved /// based on its save data ID and save data space ID. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataFileSystemCacheManager : IDisposable { [NonCopyable] diff --git a/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheRegister.cs b/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheRegister.cs index a1fc90ce..55bdd7d8 100644 --- a/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheRegister.cs +++ b/src/LibHac/FsSrv/Impl/SaveDataFileSystemCacheRegister.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSrv.Impl; /// Wraps an . /// Upon disposal the base file system is returned to the provided . /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataFileSystemCacheRegister : IFileSystem { private SharedRef _baseFileSystem; diff --git a/src/LibHac/FsSrv/Impl/StorageInterfaceAdapter.cs b/src/LibHac/FsSrv/Impl/StorageInterfaceAdapter.cs index fa916e95..37589d86 100644 --- a/src/LibHac/FsSrv/Impl/StorageInterfaceAdapter.cs +++ b/src/LibHac/FsSrv/Impl/StorageInterfaceAdapter.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv.Impl; /// /// Wraps an to allow interfacing with it via the interface over IPC. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class StorageInterfaceAdapter : IStorageSf { private SharedRef _baseStorage; diff --git a/src/LibHac/FsSrv/ProgramRegistryImpl.cs b/src/LibHac/FsSrv/ProgramRegistryImpl.cs index 9fdfcf26..92eddbf7 100644 --- a/src/LibHac/FsSrv/ProgramRegistryImpl.cs +++ b/src/LibHac/FsSrv/ProgramRegistryImpl.cs @@ -19,7 +19,7 @@ internal struct ProgramRegistryImplGlobals /// is stored in a and includes the process' process ID, program ID, /// storage location and file system permissions. This allows FS to resolve the program ID and /// verify the permissions of any process calling it. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ProgramRegistryImpl : IProgramRegistry { private ulong _processId; diff --git a/src/LibHac/FsSrv/ProgramRegistryService.cs b/src/LibHac/FsSrv/ProgramRegistryService.cs index 6295036d..ba2643c4 100644 --- a/src/LibHac/FsSrv/ProgramRegistryService.cs +++ b/src/LibHac/FsSrv/ProgramRegistryService.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSrv; /// /// Appropriate methods calls on IFileSystemProxy are forwarded to this class /// which then checks the calling process' permissions and performs the requested operation. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal readonly struct ProgramIndexRegistryService { private readonly ProgramRegistryServiceImpl _serviceImpl; @@ -111,7 +111,7 @@ internal readonly struct ProgramIndexRegistryService /// /// Manages the main program registry and the multi-program registry. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ProgramRegistryServiceImpl : IDisposable { // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable diff --git a/src/LibHac/FsSrv/SaveDataFileSystemService.cs b/src/LibHac/FsSrv/SaveDataFileSystemService.cs index 3a6149fb..c246fe1b 100644 --- a/src/LibHac/FsSrv/SaveDataFileSystemService.cs +++ b/src/LibHac/FsSrv/SaveDataFileSystemService.cs @@ -32,7 +32,7 @@ namespace LibHac.FsSrv; /// /// FS will have one instance of this class for every connected process. /// The FS permissions of the calling process are checked on every function call. -///
Based on FS 14.1.0 (nnSdk 14.3.0)
+///
Based on nnSdk 14.3.0 (FS 14.1.0) internal class SaveDataFileSystemService : ISaveDataTransferCoreInterface, ISaveDataMultiCommitCoreInterface { private const int OpenEntrySemaphoreCount = 256; diff --git a/src/LibHac/FsSrv/SaveDataFileSystemServiceImpl.cs b/src/LibHac/FsSrv/SaveDataFileSystemServiceImpl.cs index f176d54e..c71a3173 100644 --- a/src/LibHac/FsSrv/SaveDataFileSystemServiceImpl.cs +++ b/src/LibHac/FsSrv/SaveDataFileSystemServiceImpl.cs @@ -20,7 +20,7 @@ namespace LibHac.FsSrv; /// Handles the lower-level operations on save data. /// uses this class to provide save data APIs at a higher level of abstraction. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SaveDataFileSystemServiceImpl : IDisposable { private static readonly bool UseTargetManager = true; diff --git a/src/LibHac/FsSrv/SaveDataIndexer.cs b/src/LibHac/FsSrv/SaveDataIndexer.cs index b4a45dc9..6096d78a 100644 --- a/src/LibHac/FsSrv/SaveDataIndexer.cs +++ b/src/LibHac/FsSrv/SaveDataIndexer.cs @@ -25,7 +25,7 @@ namespace LibHac.FsSrv; /// Each manages one to two save data spaces. /// Each save data space is identified by a , /// and has its own unique storage location on disk. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) /// public class SaveDataIndexer : ISaveDataIndexer { @@ -54,7 +54,7 @@ public class SaveDataIndexer : ISaveDataIndexer /// Mounts the storage for a , and unmounts the storage /// when the is disposed; /// - /// Based on FS 13.1.0 (nnSdk 13.4.0) + /// Based on nnSdk 13.4.0 (FS 13.1.0) [NonCopyableDisposable] private ref struct ScopedMount { @@ -134,7 +134,7 @@ public class SaveDataIndexer : ISaveDataIndexer /// /// Iterates through all the save data indexed in a . /// - /// Based on FS 13.1.0 (nnSdk 13.4.0) + /// Based on nnSdk 13.4.0 (FS 13.1.0) private class Reader : SaveDataInfoReaderImpl { private readonly SaveDataIndexer _indexer; diff --git a/src/LibHac/FsSrv/SaveDataIndexerLite.cs b/src/LibHac/FsSrv/SaveDataIndexerLite.cs index 887351c1..f90085f4 100644 --- a/src/LibHac/FsSrv/SaveDataIndexerLite.cs +++ b/src/LibHac/FsSrv/SaveDataIndexerLite.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv; /// /// Iterates through all the save data indexed in a . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class SaveDataIndexerLiteInfoReader : SaveDataInfoReaderImpl { private bool _finishedIterating; @@ -68,7 +68,7 @@ internal class SaveDataIndexerLiteInfoReader : SaveDataInfoReaderImpl /// /// Only one temporary save data may exist at a time. When a new /// save data is added to the index, the existing key-value pair is replaced. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) /// public class SaveDataIndexerLite : ISaveDataIndexer { diff --git a/src/LibHac/FsSrv/SaveDataIndexerManager.cs b/src/LibHac/FsSrv/SaveDataIndexerManager.cs index c7730787..a4abcf9b 100644 --- a/src/LibHac/FsSrv/SaveDataIndexerManager.cs +++ b/src/LibHac/FsSrv/SaveDataIndexerManager.cs @@ -12,7 +12,7 @@ namespace LibHac.FsSrv; /// Initializes and holds s for each save data space. /// Creates accessors for individual SaveDataIndexers. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class SaveDataIndexerManager : ISaveDataIndexerManager, IDisposable { private MemoryResource _memoryResource; @@ -267,7 +267,7 @@ internal class SaveDataIndexerManager : ISaveDataIndexerManager, IDisposable /// Gives exclusive access to an . /// Releases the lock to the upon disposal. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class SaveDataIndexerAccessor : IDisposable { private readonly ISaveDataIndexer _indexer; diff --git a/src/LibHac/FsSrv/SaveDataInfoFilter.cs b/src/LibHac/FsSrv/SaveDataInfoFilter.cs index 1c69705a..0bfc509f 100644 --- a/src/LibHac/FsSrv/SaveDataInfoFilter.cs +++ b/src/LibHac/FsSrv/SaveDataInfoFilter.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSrv; /// Contains filter parameters for and can check /// to see if a matches those parameters. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal struct SaveDataInfoFilter { private Optional _spaceId; @@ -110,7 +110,7 @@ internal struct SaveDataInfoFilter /// Wraps a and only allows /// that match a provided to be returned. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class SaveDataInfoFilterReader : SaveDataInfoReaderImpl { private SharedRef _reader; diff --git a/src/LibHac/FsSrv/SaveDataSharedFileStorage.cs b/src/LibHac/FsSrv/SaveDataSharedFileStorage.cs index 5709b159..c85e4508 100644 --- a/src/LibHac/FsSrv/SaveDataSharedFileStorage.cs +++ b/src/LibHac/FsSrv/SaveDataSharedFileStorage.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSrv; /// /// Contains global functions for SaveDataSharedFileStorage. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class SaveDataSharedFileStorageGlobalMethods { public static Result OpenSaveDataStorage(this FileSystemServer fsSrv, @@ -45,7 +45,7 @@ internal struct SaveDataSharedFileStorageGlobals /// This class keeps track of which types of save data file systems have been opened from the save data file. /// Only one of each file system type can be opened at the same time. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class SaveDataOpenTypeSetFileStorage : FileStorageBasedFileSystem { public enum OpenType @@ -161,7 +161,7 @@ public class SaveDataOpenTypeSetFileStorage : FileStorageBasedFileSystem /// Once an internal file system is opened, it will be considered valid until the save data image is /// written to via the normal file system, at which point any accesses via the internal file system will /// return -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) /// public class SaveDataSharedFileStorage : IStorage { @@ -268,7 +268,7 @@ public class SaveDataSharedFileStorage : IStorage /// /// Holds references to any open shared save data image files. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class SaveDataFileStorageHolder { [NonCopyable] diff --git a/src/LibHac/FsSrv/Sf/IFileSystemProxy.cs b/src/LibHac/FsSrv/Sf/IFileSystemProxy.cs index 5b574bba..51cb3c4c 100644 --- a/src/LibHac/FsSrv/Sf/IFileSystemProxy.cs +++ b/src/LibHac/FsSrv/Sf/IFileSystemProxy.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSrv.Sf; /// /// The interface most programs use to interact with the FS service. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public interface IFileSystemProxy : IDisposable { Result SetCurrentProcess(ulong processId); diff --git a/src/LibHac/FsSrv/StatusReportService.cs b/src/LibHac/FsSrv/StatusReportService.cs index 623ebc39..ddc64d26 100644 --- a/src/LibHac/FsSrv/StatusReportService.cs +++ b/src/LibHac/FsSrv/StatusReportService.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv; /// /// This struct handles forwarding calls to the object. /// No permissions are needed to call any of this struct's functions. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public readonly struct StatusReportService { private readonly StatusReportServiceImpl _serviceImpl; @@ -41,7 +41,7 @@ public readonly struct StatusReportService /// /// Manages getting and resetting various status reports and statistics about parts of the FS service. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class StatusReportServiceImpl { private Configuration _config; diff --git a/src/LibHac/FsSrv/Storage/GameCardService.cs b/src/LibHac/FsSrv/Storage/GameCardService.cs index 36ded37a..4e303322 100644 --- a/src/LibHac/FsSrv/Storage/GameCardService.cs +++ b/src/LibHac/FsSrv/Storage/GameCardService.cs @@ -35,7 +35,7 @@ internal struct GameCardServiceGlobals : IDisposable /// /// Contains functions for interacting with the game card storage device. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) internal static class GameCardService { private static ulong MakeAttributeId(OpenGameCardAttribute attribute) => (ulong)attribute; diff --git a/src/LibHac/FsSrv/Storage/MmcService.cs b/src/LibHac/FsSrv/Storage/MmcService.cs index e205b974..3e3cbdc9 100644 --- a/src/LibHac/FsSrv/Storage/MmcService.cs +++ b/src/LibHac/FsSrv/Storage/MmcService.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSrv.Storage; /// /// Contains global MMC-storage-related functions. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public static class MmcServiceGlobalMethods { public static Result GetAndClearPatrolReadAllocateBufferCount(this FileSystemServer fsSrv, out long successCount, @@ -27,7 +27,7 @@ public static class MmcServiceGlobalMethods /// /// Contains functions for interacting with the MMC storage device. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) internal static class MmcService { private static int MakeOperationId(MmcManagerOperationIdValue operation) => (int)operation; diff --git a/src/LibHac/FsSrv/Storage/SdCardService.cs b/src/LibHac/FsSrv/Storage/SdCardService.cs index f18cda6f..e23ac7db 100644 --- a/src/LibHac/FsSrv/Storage/SdCardService.cs +++ b/src/LibHac/FsSrv/Storage/SdCardService.cs @@ -17,7 +17,7 @@ namespace LibHac.FsSrv.Storage; /// /// Contains functions for interacting with the SD card storage device. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) internal static class SdCardService { private static int MakeOperationId(SdCardManagerOperationIdValue operation) => (int)operation; diff --git a/src/LibHac/FsSrv/TimeService.cs b/src/LibHac/FsSrv/TimeService.cs index f982f254..7b6a3c4d 100644 --- a/src/LibHac/FsSrv/TimeService.cs +++ b/src/LibHac/FsSrv/TimeService.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSrv; /// /// This struct handles checking a process' permissions before forwarding /// a request to the object. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public readonly struct TimeService { private readonly TimeServiceImpl _serviceImpl; @@ -40,7 +40,7 @@ public readonly struct TimeService /// /// Manages the current time used by the FS service. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class TimeServiceImpl { private long _basePosixTime; diff --git a/src/LibHac/FsSystem/AesCtrCounterExtendedStorage.cs b/src/LibHac/FsSystem/AesCtrCounterExtendedStorage.cs index 3ec61e7c..b2971b4e 100644 --- a/src/LibHac/FsSystem/AesCtrCounterExtendedStorage.cs +++ b/src/LibHac/FsSystem/AesCtrCounterExtendedStorage.cs @@ -17,7 +17,7 @@ namespace LibHac.FsSystem; /// The base data used for this storage comes with a table of ranges and counter values that are used /// to decrypt each range. This encryption scheme is used for encrypting content updates so that no counter values /// are ever reused. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class AesCtrCounterExtendedStorage : IStorage { public delegate Result DecryptFunction(Span destination, int index, int generation, diff --git a/src/LibHac/FsSystem/AesCtrStorage.cs b/src/LibHac/FsSystem/AesCtrStorage.cs index 750e4477..6be43f3f 100644 --- a/src/LibHac/FsSystem/AesCtrStorage.cs +++ b/src/LibHac/FsSystem/AesCtrStorage.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSystem; /// /// Reads and writes to an that's encrypted with AES-CTR-128. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class AesCtrStorage : IStorage { public static readonly int BlockSize = Aes.BlockSize; diff --git a/src/LibHac/FsSystem/AesXtsStorage.cs b/src/LibHac/FsSystem/AesXtsStorage.cs index 229f2161..e5259801 100644 --- a/src/LibHac/FsSystem/AesXtsStorage.cs +++ b/src/LibHac/FsSystem/AesXtsStorage.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSystem; /// /// Reads and writes to an that's encrypted with AES-XTS-128. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class AesXtsStorage : IStorage { public static readonly int AesBlockSize = Aes.BlockSize; diff --git a/src/LibHac/FsSystem/AesXtsStorageExternal.cs b/src/LibHac/FsSystem/AesXtsStorageExternal.cs index a68d24a0..a920a7f6 100644 --- a/src/LibHac/FsSystem/AesXtsStorageExternal.cs +++ b/src/LibHac/FsSystem/AesXtsStorageExternal.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSystem; /// All encryption or decryption will be done externally via a provided function. /// This allows for using hardware decryption where the FS process doesn't has access to the actual keys. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class AesXtsStorageExternal : IStorage { public const int AesBlockSize = Aes.BlockSize; diff --git a/src/LibHac/FsSystem/AlignmentMatchingStorage.cs b/src/LibHac/FsSystem/AlignmentMatchingStorage.cs index bd2e239c..7ec5ff57 100644 --- a/src/LibHac/FsSystem/AlignmentMatchingStorage.cs +++ b/src/LibHac/FsSystem/AlignmentMatchingStorage.cs @@ -23,7 +23,7 @@ public interface IAlignmentMatchingStorageSize { } /// This class uses a work buffer on the stack to avoid allocations. Because of this the data alignment /// must be kept small; no larger than 0x200. The class /// should be used for data alignment sizes larger than this. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) [SkipLocalsInit] public class AlignmentMatchingStorage : IStorage where TDataAlignment : struct, IAlignmentMatchingStorageSize @@ -166,7 +166,7 @@ public class AlignmentMatchingStorage : IStora /// the beginning or end of the requested range. For data alignment sizes of 0x200 or smaller /// should be used instead /// to avoid these allocations. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class AlignmentMatchingStoragePooledBuffer : IStorage where TBufferAlignment : struct, IAlignmentMatchingStorageSize { @@ -310,7 +310,7 @@ public class AlignmentMatchingStoragePooledBuffer : IStorage /// The alignment of the destination buffer for the core read. Must be a power of 2. /// This class is basically the same as except /// it doesn't allocate a work buffer for reads that are already aligned, and it ignores the buffer alignment for reads. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class AlignmentMatchingStorageInBulkRead : IStorage where TBufferAlignment : struct, IAlignmentMatchingStorageSize { diff --git a/src/LibHac/FsSystem/AlignmentMatchingStorageImpl.cs b/src/LibHac/FsSystem/AlignmentMatchingStorageImpl.cs index 33b1f868..951f8d96 100644 --- a/src/LibHac/FsSystem/AlignmentMatchingStorageImpl.cs +++ b/src/LibHac/FsSystem/AlignmentMatchingStorageImpl.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSystem; /// Contains the functions used by classes like for /// accessing an aligned . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public static class AlignmentMatchingStorageImpl { public static uint GetRoundDownDifference(int value, uint alignment) diff --git a/src/LibHac/FsSystem/AsynchronousAccess.cs b/src/LibHac/FsSystem/AsynchronousAccess.cs index a6dddaf2..c833b0a5 100644 --- a/src/LibHac/FsSystem/AsynchronousAccess.cs +++ b/src/LibHac/FsSystem/AsynchronousAccess.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSystem; /// This interface exists because of where it will split requests into /// chunks that start and end on the boundaries of the compressed blocks. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public interface IAsynchronousAccessSplitter : IDisposable { private static readonly DefaultAsynchronousAccessSplitter DefaultAccessSplitter = new(); @@ -70,7 +70,7 @@ public interface IAsynchronousAccessSplitter : IDisposable /// The default that is used when an /// or doesn't need any special logic to split a request into multiple chunks. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class DefaultAsynchronousAccessSplitter : IAsynchronousAccessSplitter { public void Dispose() { } diff --git a/src/LibHac/FsSystem/BucketTree.cs b/src/LibHac/FsSystem/BucketTree.cs index 21b614d5..bad11457 100644 --- a/src/LibHac/FsSystem/BucketTree.cs +++ b/src/LibHac/FsSystem/BucketTree.cs @@ -14,7 +14,7 @@ namespace LibHac.FsSystem; /// /// Allows searching and iterating the entries in a bucket tree data structure. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public partial class BucketTree : IDisposable { private const uint ExpectedMagic = 0x52544B42; // BKTR diff --git a/src/LibHac/FsSystem/BufferedStorage.cs b/src/LibHac/FsSystem/BufferedStorage.cs index 08842f5a..b2a6c780 100644 --- a/src/LibHac/FsSystem/BufferedStorage.cs +++ b/src/LibHac/FsSystem/BufferedStorage.cs @@ -16,7 +16,7 @@ namespace LibHac.FsSystem; /// /// An that provides buffered access to a base . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class BufferedStorage : IStorage { private const long InvalidOffset = long.MaxValue; diff --git a/src/LibHac/FsSystem/Buffers/FileSystemBufferManager.cs b/src/LibHac/FsSystem/Buffers/FileSystemBufferManager.cs index f3acf25c..e8ac8f8c 100644 --- a/src/LibHac/FsSystem/Buffers/FileSystemBufferManager.cs +++ b/src/LibHac/FsSystem/Buffers/FileSystemBufferManager.cs @@ -17,7 +17,7 @@ namespace LibHac.FsSystem; /// /// An that uses a as an allocator. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class FileSystemBufferManager : IBufferManager { private class CacheHandleTable : IDisposable diff --git a/src/LibHac/FsSystem/ConcatenationFileSystem.cs b/src/LibHac/FsSystem/ConcatenationFileSystem.cs index d20119ed..d4a9501f 100644 --- a/src/LibHac/FsSystem/ConcatenationFileSystem.cs +++ b/src/LibHac/FsSystem/ConcatenationFileSystem.cs @@ -28,7 +28,7 @@ namespace LibHac.FsSystem; /// Each internal file except the final one must have the internal file size that was specified /// at the creation of the . /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) /// public class ConcatenationFileSystem : IFileSystem { diff --git a/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs b/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs index dc657340..b5afe6b9 100644 --- a/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs +++ b/src/LibHac/FsSystem/DirectorySaveDataFileSystem.cs @@ -24,7 +24,7 @@ internal struct DirectorySaveDataFileSystemGlobals /// /// Transactional commits should be atomic as long as the function of the /// underlying is atomic. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) /// public class DirectorySaveDataFileSystem : ISaveDataFileSystem { diff --git a/src/LibHac/FsSystem/ForwardingFileSystem.cs b/src/LibHac/FsSystem/ForwardingFileSystem.cs index d82c8f82..c76e3160 100644 --- a/src/LibHac/FsSystem/ForwardingFileSystem.cs +++ b/src/LibHac/FsSystem/ForwardingFileSystem.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// An wrapper that forwards all calls to the base . /// Meant for use as a base class when the derived class only needs to override some of the methods. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ForwardingFile : IFile { protected UniqueRef BaseFile; @@ -46,7 +46,7 @@ public class ForwardingFile : IFile /// An wrapper that forwards all calls to the base . /// Primarily meant for use as a base class when the derived class only needs to override some of the methods. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ForwardingDirectory : IDirectory { protected UniqueRef BaseDirectory; @@ -73,7 +73,7 @@ public class ForwardingDirectory : IDirectory /// An wrapper that forwards all calls to the base . /// Primarily meant for use as a base class when the derived class only needs to override some of the methods. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ForwardingFileSystem : IFileSystem { protected SharedRef BaseFileSystem; diff --git a/src/LibHac/FsSystem/IHash256Generator.cs b/src/LibHac/FsSystem/IHash256Generator.cs index 807ec7d4..46a1475c 100644 --- a/src/LibHac/FsSystem/IHash256Generator.cs +++ b/src/LibHac/FsSystem/IHash256Generator.cs @@ -15,7 +15,7 @@ public enum HashAlgorithmType : byte /// Generates a hash for a stream of data. The data can be given to the /// as multiple, smaller sequential blocks of data. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IHash256Generator : IDisposable { public static readonly long HashSize = 256 / 8; @@ -47,7 +47,7 @@ public abstract class IHash256Generator : IDisposable /// /// Creates objects and can generate a hash for a single, in-memory block of data. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IHash256GeneratorFactory : IDisposable { public virtual void Dispose() { } @@ -71,7 +71,7 @@ public abstract class IHash256GeneratorFactory : IDisposable /// /// Creates objects. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IHash256GeneratorFactorySelector : IDisposable { public virtual void Dispose() { } diff --git a/src/LibHac/FsSystem/IResultConvertFileSystem.cs b/src/LibHac/FsSystem/IResultConvertFileSystem.cs index f65d3525..4ac738c1 100644 --- a/src/LibHac/FsSystem/IResultConvertFileSystem.cs +++ b/src/LibHac/FsSystem/IResultConvertFileSystem.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSystem; /// Wraps an , converting its returned s to different /// s based on the function. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IResultConvertFile : IFile { private UniqueRef _baseFile; @@ -66,7 +66,7 @@ public abstract class IResultConvertFile : IFile /// Wraps an , converting its returned s to different /// s based on the function. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IResultConvertDirectory : IDirectory { private UniqueRef _baseDirectory; @@ -101,7 +101,7 @@ public abstract class IResultConvertDirectory : IDirectory /// Wraps an , converting its returned s to different /// s based on the function. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public abstract class IResultConvertFileSystem : ISaveDataFileSystem where T : IFileSystem { private SharedRef _baseFileSystem; diff --git a/src/LibHac/FsSystem/ISaveDataCommitTimeStampGetter.cs b/src/LibHac/FsSystem/ISaveDataCommitTimeStampGetter.cs index 54f9cad6..14936568 100644 --- a/src/LibHac/FsSystem/ISaveDataCommitTimeStampGetter.cs +++ b/src/LibHac/FsSystem/ISaveDataCommitTimeStampGetter.cs @@ -3,7 +3,7 @@ /// /// Gets Unix timestamps used to update a save data's commit time. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public interface ISaveDataCommitTimeStampGetter { Result Get(out long timeStamp); diff --git a/src/LibHac/FsSystem/ISaveDataExtraDataAccessor.cs b/src/LibHac/FsSystem/ISaveDataExtraDataAccessor.cs index 6b1a71ff..e0ddaa83 100644 --- a/src/LibHac/FsSystem/ISaveDataExtraDataAccessor.cs +++ b/src/LibHac/FsSystem/ISaveDataExtraDataAccessor.cs @@ -6,7 +6,7 @@ namespace LibHac.FsSystem; /// /// Provides read/write access to a save data file system's extra data. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public interface ISaveDataExtraDataAccessor : IDisposable { Result WriteExtraData(in SaveDataExtraData extraData); diff --git a/src/LibHac/FsSystem/ISaveDataExtraDataAccessorCacheObserver.cs b/src/LibHac/FsSystem/ISaveDataExtraDataAccessorCacheObserver.cs index 782d4b96..6f650a83 100644 --- a/src/LibHac/FsSystem/ISaveDataExtraDataAccessorCacheObserver.cs +++ b/src/LibHac/FsSystem/ISaveDataExtraDataAccessorCacheObserver.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// . When an extra data accessor is disposed, the accessor will /// use this interface to notify the cache manager that it should be removed from the extra data cache. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public interface ISaveDataExtraDataAccessorObserver : IDisposable { void Unregister(SaveDataSpaceId spaceId, ulong saveDataId); diff --git a/src/LibHac/FsSystem/Impl/BlockCacheManager.cs b/src/LibHac/FsSystem/Impl/BlockCacheManager.cs index be673cbc..5e1512ad 100644 --- a/src/LibHac/FsSystem/Impl/BlockCacheManager.cs +++ b/src/LibHac/FsSystem/Impl/BlockCacheManager.cs @@ -34,7 +34,7 @@ public interface IBlockCacheManagerRange /// The type of the entries to be stores in the cache manager. /// The type that uses /// to represent the range cached by an entry. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class BlockCacheManager : IDisposable where TEntry : struct, IBlockCacheManagerEntry where TRange : struct, IBlockCacheManagerRange diff --git a/src/LibHac/FsSystem/IndirectStorage.cs b/src/LibHac/FsSystem/IndirectStorage.cs index d2f09c57..648b1955 100644 --- a/src/LibHac/FsSystem/IndirectStorage.cs +++ b/src/LibHac/FsSystem/IndirectStorage.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSystem; /// /// The 's contains /// values that describe how the created storage is to be built from the base storages. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class IndirectStorage : IStorage { public static readonly int StorageCount = 2; diff --git a/src/LibHac/FsSystem/IntegrityRomFsStorage.cs b/src/LibHac/FsSystem/IntegrityRomFsStorage.cs index dc6dd6f8..5d198a7e 100644 --- a/src/LibHac/FsSystem/IntegrityRomFsStorage.cs +++ b/src/LibHac/FsSystem/IntegrityRomFsStorage.cs @@ -13,7 +13,7 @@ namespace LibHac.FsSystem; /// An that handles initializing a /// from a RomFs. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class IntegrityRomFsStorage : IStorage { private HierarchicalIntegrityVerificationStorage _integrityStorage; diff --git a/src/LibHac/FsSystem/IntegrityVerificationStorage.cs b/src/LibHac/FsSystem/IntegrityVerificationStorage.cs index 6f69e41d..4ca9b7c5 100644 --- a/src/LibHac/FsSystem/IntegrityVerificationStorage.cs +++ b/src/LibHac/FsSystem/IntegrityVerificationStorage.cs @@ -24,7 +24,7 @@ namespace LibHac.FsSystem; /// hashes is always set to 1.
/// An optional may be provided. This salt will be added to the beginning of each block of /// data before it is hashed. -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class IntegrityVerificationStorage : IStorage { public struct BlockHash diff --git a/src/LibHac/FsSystem/LruListCache.cs b/src/LibHac/FsSystem/LruListCache.cs index 9ffb20c0..ef8578c0 100644 --- a/src/LibHac/FsSystem/LruListCache.cs +++ b/src/LibHac/FsSystem/LruListCache.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// /// The type of the keys in the list. /// The type of the values in the list. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class LruListCache where TKey : IEquatable { public struct Node diff --git a/src/LibHac/FsSystem/MemoryResourceBufferHoldStorage.cs b/src/LibHac/FsSystem/MemoryResourceBufferHoldStorage.cs index 00f77c1c..df15b205 100644 --- a/src/LibHac/FsSystem/MemoryResourceBufferHoldStorage.cs +++ b/src/LibHac/FsSystem/MemoryResourceBufferHoldStorage.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// Allocates a buffer from the provided that is deallocated /// when the is disposed. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class MemoryResourceBufferHoldStorage : IStorage { private SharedRef _storage; diff --git a/src/LibHac/FsSystem/NcaFileSystemDriver.cs b/src/LibHac/FsSystem/NcaFileSystemDriver.cs index 823483ad..6b2d50db 100644 --- a/src/LibHac/FsSystem/NcaFileSystemDriver.cs +++ b/src/LibHac/FsSystem/NcaFileSystemDriver.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSystem; /// /// Contains the configuration used for decrypting NCAs. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public struct NcaCryptoConfiguration { public const int Rsa2048KeyModulusSize = Rsa.ModulusSize2048Pss; diff --git a/src/LibHac/FsSystem/NcaHeader.cs b/src/LibHac/FsSystem/NcaHeader.cs index 32c34800..96b6943f 100644 --- a/src/LibHac/FsSystem/NcaHeader.cs +++ b/src/LibHac/FsSystem/NcaHeader.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSystem; /// /// The structure used as the header for an NCA file. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public struct NcaHeader { public enum ContentType : byte @@ -171,7 +171,7 @@ public struct NcaAesCtrUpperIv /// /// The structure used as the header for an NCA file system. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public struct NcaFsHeader { public ushort Version; diff --git a/src/LibHac/FsSystem/NcaReader.cs b/src/LibHac/FsSystem/NcaReader.cs index 28ba2feb..99ae3cb5 100644 --- a/src/LibHac/FsSystem/NcaReader.cs +++ b/src/LibHac/FsSystem/NcaReader.cs @@ -16,7 +16,7 @@ public delegate bool VerifySign1Function(ReadOnlySpan signature, ReadOnlyS /// /// Handles reading information from an NCA file's header. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class NcaReader : IDisposable { private const uint SdkAddonVersionMin = 0xB0000; @@ -480,7 +480,7 @@ public class NcaReader : IDisposable /// /// Handles reading information from the of a file system inside an NCA file. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class NcaFsHeaderReader { private NcaFsHeader _header; diff --git a/src/LibHac/FsSystem/ReadOnlyBlockCacheStorage.cs b/src/LibHac/FsSystem/ReadOnlyBlockCacheStorage.cs index 64f10ecf..2e48ca26 100644 --- a/src/LibHac/FsSystem/ReadOnlyBlockCacheStorage.cs +++ b/src/LibHac/FsSystem/ReadOnlyBlockCacheStorage.cs @@ -16,7 +16,7 @@ namespace LibHac.FsSystem; /// Only reads that access a single block will use the cache. Reads that access multiple blocks will /// be passed down to the base to be handled without caching. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class ReadOnlyBlockCacheStorage : IStorage { private SdkMutexType _mutex; diff --git a/src/LibHac/FsSystem/SparseStorage.cs b/src/LibHac/FsSystem/SparseStorage.cs index 1e7359e0..94936b0f 100644 --- a/src/LibHac/FsSystem/SparseStorage.cs +++ b/src/LibHac/FsSystem/SparseStorage.cs @@ -11,7 +11,7 @@ namespace LibHac.FsSystem; /// The 's contains /// values describing which portions of the storage are empty. This is accomplished by using a standard /// where the second contains only zeros. -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class SparseStorage : IndirectStorage { private class ZeroStorage : IStorage diff --git a/src/LibHac/FsSystem/StorageFile.cs b/src/LibHac/FsSystem/StorageFile.cs index 3d95fb21..aa8cfb4b 100644 --- a/src/LibHac/FsSystem/StorageFile.cs +++ b/src/LibHac/FsSystem/StorageFile.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// /// Allows interacting with an via an interface. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class StorageFile : IFile { private IStorage _baseStorage; diff --git a/src/LibHac/FsSystem/StorageLayoutTypeSetter.cs b/src/LibHac/FsSystem/StorageLayoutTypeSetter.cs index 59a7eb96..24ba9488 100644 --- a/src/LibHac/FsSystem/StorageLayoutTypeSetter.cs +++ b/src/LibHac/FsSystem/StorageLayoutTypeSetter.cs @@ -21,7 +21,7 @@ internal enum StorageLayoutType /// /// Contains functions for validating the storage layout type flag. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal static class StorageLayoutTypeFunctions { public static bool IsStorageFlagValid(StorageLayoutType storageFlag) @@ -48,7 +48,7 @@ internal struct ScopedStorageLayoutTypeSetter : IDisposable /// Wraps an , automatically setting the thread's storage type when accessing the storage. /// This is used to determine which storage speed emulation parameters to use for the current thread. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class StorageLayoutTypeSetStorage : IStorage { private SharedRef _baseStorage; @@ -114,7 +114,7 @@ internal class StorageLayoutTypeSetStorage : IStorage /// Wraps an , automatically setting the thread's storage type when accessing the file. /// This is used to determine which storage speed emulation parameters to use for the current thread. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class StorageLayoutTypeSetFile : IFile { private IFile _baseFile; @@ -194,7 +194,7 @@ internal class StorageLayoutTypeSetFile : IFile /// Wraps an , automatically setting the thread's storage type when accessing the directory. /// This is used to determine which storage speed emulation parameters to use for the current thread. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal class StorageLayoutTypeSetDirectory : IDirectory { private UniqueRef _baseDirectory; diff --git a/src/LibHac/FsSystem/SubdirectoryFileSystem.cs b/src/LibHac/FsSystem/SubdirectoryFileSystem.cs index 508c5beb..f228811d 100644 --- a/src/LibHac/FsSystem/SubdirectoryFileSystem.cs +++ b/src/LibHac/FsSystem/SubdirectoryFileSystem.cs @@ -8,7 +8,7 @@ namespace LibHac.FsSystem; /// /// An that uses a directory of another as its root directory. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class SubdirectoryFileSystem : IFileSystem { private IFileSystem _baseFileSystem; diff --git a/src/LibHac/FsSystem/SwitchStorage.cs b/src/LibHac/FsSystem/SwitchStorage.cs index 342ee012..4a438ba2 100644 --- a/src/LibHac/FsSystem/SwitchStorage.cs +++ b/src/LibHac/FsSystem/SwitchStorage.cs @@ -10,7 +10,7 @@ namespace LibHac.FsSystem; /// s. On each request the provided storage selection function will be called and the request /// will be forwarded to the appropriate based on the return value. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class SwitchStorage : IStorage { private SharedRef _trueStorage; @@ -112,7 +112,7 @@ public class SwitchStorage : IStorage /// the provided will be forwarded to one , and requests outside /// will be forwarded to the other. /// -/// Based on FS 14.1.0 (nnSdk 14.3.0) +/// Based on nnSdk 14.3.0 (FS 14.1.0) public class RegionSwitchStorage : IStorage { public struct Region diff --git a/src/LibHac/FsSystem/UnionStorage.cs b/src/LibHac/FsSystem/UnionStorage.cs index 3e424633..f5f61635 100644 --- a/src/LibHac/FsSystem/UnionStorage.cs +++ b/src/LibHac/FsSystem/UnionStorage.cs @@ -25,7 +25,7 @@ namespace LibHac.FsSystem; /// u8 Data[BlockSize]; /// }; /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) public class UnionStorage : IStorage { private const long Sentinel = -1; diff --git a/src/LibHac/FsSystem/Utility.cs b/src/LibHac/FsSystem/Utility.cs index 96935c03..76569d1b 100644 --- a/src/LibHac/FsSystem/Utility.cs +++ b/src/LibHac/FsSystem/Utility.cs @@ -9,7 +9,7 @@ namespace LibHac.FsSystem; /// /// Various utility functions used by the namespace. /// -/// Based on FS 13.1.0 (nnSdk 13.4.0) +/// Based on nnSdk 13.4.0 (FS 13.1.0) internal static class Utility { public delegate Result FsIterationTask(in Path path, in DirectoryEntry entry, ref FsIterationTaskClosure closure);