mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Update FileSystemBufferManager for 13.1.0
This commit is contained in:
parent
a17605b292
commit
f1105da2cc
6 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using Buffer = LibHac.Mem.Buffer;
|
using Buffer = LibHac.Mem.Buffer;
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
// ReSharper disable once CheckNamespace
|
// ReSharper disable once CheckNamespace
|
||||||
namespace LibHac.Fs;
|
namespace LibHac.Fs;
|
||||||
|
|
|
@ -9,7 +9,7 @@ using LibHac.FsSystem.Buffers;
|
||||||
using LibHac.Util;
|
using LibHac.Util;
|
||||||
|
|
||||||
using Buffer = LibHac.Mem.Buffer;
|
using Buffer = LibHac.Mem.Buffer;
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
namespace LibHac.FsSystem;
|
namespace LibHac.FsSystem;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ using LibHac.Os;
|
||||||
using LibHac.Util;
|
using LibHac.Util;
|
||||||
|
|
||||||
using Buffer = LibHac.Mem.Buffer;
|
using Buffer = LibHac.Mem.Buffer;
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
// ReSharper disable once CheckNamespace
|
// ReSharper disable once CheckNamespace
|
||||||
namespace LibHac.FsSystem;
|
namespace LibHac.FsSystem;
|
||||||
|
@ -17,6 +17,7 @@ namespace LibHac.FsSystem;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="IBufferManager"/> that uses a <see cref="FileSystemBuddyHeap"/> as an allocator.
|
/// An <see cref="IBufferManager"/> that uses a <see cref="FileSystemBuddyHeap"/> as an allocator.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <remarks>Based on FS 13.1.0 (nnSdk 13.4.0)</remarks>
|
||||||
public class FileSystemBufferManager : IBufferManager
|
public class FileSystemBufferManager : IBufferManager
|
||||||
{
|
{
|
||||||
private class CacheHandleTable : IDisposable
|
private class CacheHandleTable : IDisposable
|
||||||
|
|
|
@ -6,7 +6,7 @@ using LibHac.FsSystem.Impl;
|
||||||
using LibHac.Os;
|
using LibHac.Os;
|
||||||
|
|
||||||
using Buffer = LibHac.Mem.Buffer;
|
using Buffer = LibHac.Mem.Buffer;
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
namespace LibHac.FsSystem;
|
namespace LibHac.FsSystem;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ using LibHac.Diag;
|
||||||
using LibHac.Fs;
|
using LibHac.Fs;
|
||||||
|
|
||||||
using Buffer = LibHac.Mem.Buffer;
|
using Buffer = LibHac.Mem.Buffer;
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
namespace LibHac.FsSystem.Impl;
|
namespace LibHac.FsSystem.Impl;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ using LibHac.FsSystem;
|
||||||
using LibHac.Mem;
|
using LibHac.Mem;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
using CacheHandle = System.Int64;
|
using CacheHandle = System.UInt64;
|
||||||
|
|
||||||
namespace LibHac.Tests.FsSystem;
|
namespace LibHac.Tests.FsSystem;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue