From 660caae347d4257d5aafa0d9ff26cd9835e82e82 Mon Sep 17 00:00:00 2001 From: emmauss Date: Sun, 14 Jul 2019 22:17:45 +0300 Subject: [PATCH] change write structure method name Co-Authored-By: Thomas Guillemard --- Ryujinx.HLE/DeviceMemory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/DeviceMemory.cs b/Ryujinx.HLE/DeviceMemory.cs index 35f8535766..3553a6e713 100644 --- a/Ryujinx.HLE/DeviceMemory.cs +++ b/Ryujinx.HLE/DeviceMemory.cs @@ -99,7 +99,7 @@ namespace Ryujinx.HLE *((ulong*)(_ramPtr + position)) = value; } - public unsafe void WriteStructure(long position, T value) + public unsafe void WriteStruct(long position, T value) { Marshal.StructureToPtr(value, (IntPtr)(_ramPtr + position), false); } @@ -186,4 +186,4 @@ namespace Ryujinx.HLE MemoryManagement.Free(RamPointer); } } -} \ No newline at end of file +}