change write structure method name
Co-Authored-By: Thomas Guillemard <thog@protonmail.com>
This commit is contained in:
parent
e03b0e8ad3
commit
660caae347
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue