diff --git a/src/LibHac.Nand/NandPartition.cs b/src/LibHac.Nand/NandPartition.cs index 16406371..22fff573 100644 --- a/src/LibHac.Nand/NandPartition.cs +++ b/src/LibHac.Nand/NandPartition.cs @@ -4,7 +4,7 @@ using DiscUtils.Fat; namespace LibHac.Nand { - public class NandPartition : IFileSystem + public class NandPartition : IFileSystemOld { public FatFileSystem Fs { get; } diff --git a/src/LibHac/FileSystem.cs b/src/LibHac/FileSystem.cs index 6c1f9755..d2286e93 100644 --- a/src/LibHac/FileSystem.cs +++ b/src/LibHac/FileSystem.cs @@ -4,7 +4,7 @@ using System.IO; namespace LibHac { - public class FileSystem : IFileSystem + public class FileSystem : IFileSystemOld { public string Root { get; } diff --git a/src/LibHac/IFileSystem.cs b/src/LibHac/IFileSystemOld.cs similarity index 92% rename from src/LibHac/IFileSystem.cs rename to src/LibHac/IFileSystemOld.cs index 27d7aeab..84b650d4 100644 --- a/src/LibHac/IFileSystem.cs +++ b/src/LibHac/IFileSystemOld.cs @@ -2,7 +2,7 @@ namespace LibHac { - public interface IFileSystem + public interface IFileSystemOld { bool FileExists(string path); bool DirectoryExists(string path); diff --git a/src/LibHac/SwitchFs.cs b/src/LibHac/SwitchFs.cs index a97788c0..93d29957 100644 --- a/src/LibHac/SwitchFs.cs +++ b/src/LibHac/SwitchFs.cs @@ -12,7 +12,7 @@ namespace LibHac public class SwitchFs : IDisposable { public Keyset Keyset { get; } - public IFileSystem Fs { get; } + public IFileSystemOld Fs { get; } public string ContentsDir { get; } public string SaveDir { get; } @@ -21,7 +21,7 @@ namespace LibHac public Dictionary Titles { get; } = new Dictionary(); public Dictionary Applications { get; } = new Dictionary(); - public SwitchFs(Keyset keyset, IFileSystem fs) + public SwitchFs(Keyset keyset, IFileSystemOld fs) { Fs = fs; Keyset = keyset; @@ -232,7 +232,7 @@ namespace LibHac } } - internal static IStorage OpenSplitNcaStorage(IFileSystem fs, string path) + internal static IStorage OpenSplitNcaStorage(IFileSystemOld fs, string path) { var files = new List(); var storages = new List();