Update FileSystemBufferManager for 13.1.0

This commit is contained in:
Alex Barney 2021-12-21 12:45:09 -07:00
parent a17605b292
commit f1105da2cc
6 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
using System;
using Buffer = LibHac.Mem.Buffer;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
// ReSharper disable once CheckNamespace
namespace LibHac.Fs;

View file

@ -9,7 +9,7 @@ using LibHac.FsSystem.Buffers;
using LibHac.Util;
using Buffer = LibHac.Mem.Buffer;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
namespace LibHac.FsSystem;

View file

@ -9,7 +9,7 @@ using LibHac.Os;
using LibHac.Util;
using Buffer = LibHac.Mem.Buffer;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
// ReSharper disable once CheckNamespace
namespace LibHac.FsSystem;
@ -17,6 +17,7 @@ namespace LibHac.FsSystem;
/// <summary>
/// An <see cref="IBufferManager"/> that uses a <see cref="FileSystemBuddyHeap"/> as an allocator.
/// </summary>
/// <remarks>Based on FS 13.1.0 (nnSdk 13.4.0)</remarks>
public class FileSystemBufferManager : IBufferManager
{
private class CacheHandleTable : IDisposable

View file

@ -6,7 +6,7 @@ using LibHac.FsSystem.Impl;
using LibHac.Os;
using Buffer = LibHac.Mem.Buffer;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
namespace LibHac.FsSystem;

View file

@ -3,7 +3,7 @@ using LibHac.Diag;
using LibHac.Fs;
using Buffer = LibHac.Mem.Buffer;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
namespace LibHac.FsSystem.Impl;

View file

@ -3,7 +3,7 @@ using LibHac.FsSystem;
using LibHac.Mem;
using Xunit;
using CacheHandle = System.Int64;
using CacheHandle = System.UInt64;
namespace LibHac.Tests.FsSystem;