change write structure method name

Co-Authored-By: Thomas Guillemard <thog@protonmail.com>
This commit is contained in:
emmauss 2019-07-14 22:17:45 +03:00 committed by GitHub
parent e03b0e8ad3
commit 660caae347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ namespace Ryujinx.HLE
*((ulong*)(_ramPtr + position)) = value;
}
public unsafe void WriteStructure<T>(long position, T value)
public unsafe void WriteStruct<T>(long position, T value)
{
Marshal.StructureToPtr(value, (IntPtr)(_ramPtr + position), false);
}
@ -186,4 +186,4 @@ namespace Ryujinx.HLE
MemoryManagement.Free(RamPointer);
}
}
}
}