aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Memory/MemoryHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Memory/MemoryHelper.cs')
-rw-r--r--ARMeilleure/Memory/MemoryHelper.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ARMeilleure/Memory/MemoryHelper.cs b/ARMeilleure/Memory/MemoryHelper.cs
index 71ddac23..8e310d4d 100644
--- a/ARMeilleure/Memory/MemoryHelper.cs
+++ b/ARMeilleure/Memory/MemoryHelper.cs
@@ -7,7 +7,7 @@ namespace ARMeilleure.Memory
{
public static class MemoryHelper
{
- public static void FillWithZeros(IMemoryManager memory, long position, int size)
+ public static void FillWithZeros(MemoryManager memory, long position, int size)
{
int size8 = size & ~(8 - 1);
@@ -22,7 +22,7 @@ namespace ARMeilleure.Memory
}
}
- public unsafe static T Read<T>(IMemoryManager memory, long position) where T : struct
+ public unsafe static T Read<T>(MemoryManager memory, long position) where T : struct
{
long size = Marshal.SizeOf<T>();
@@ -34,7 +34,7 @@ namespace ARMeilleure.Memory
}
}
- public unsafe static void Write<T>(IMemoryManager memory, long position, T value) where T : struct
+ public unsafe static void Write<T>(MemoryManager memory, long position, T value) where T : struct
{
long size = Marshal.SizeOf<T>();
@@ -48,7 +48,7 @@ namespace ARMeilleure.Memory
memory.WriteBytes(position, data);
}
- public static string ReadAsciiString(IMemoryManager memory, long position, long maxSize = -1)
+ public static string ReadAsciiString(MemoryManager memory, long position, long maxSize = -1)
{
using (MemoryStream ms = new MemoryStream())
{