mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: MemoryHelper.Write crash the game
Missing parameters cause the overload not to be called correctly, resulting in an infinite loop once called.
This commit is contained in:
parent
49793a1f17
commit
51fff9d724
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ namespace Dalamud.Memory
|
|||
/// <param name="memoryAddress">The memory address to read from.</param>
|
||||
/// <param name="item">The item to write to the address.</param>
|
||||
public static void Write<T>(IntPtr memoryAddress, T item) where T : unmanaged
|
||||
=> Write(memoryAddress, item);
|
||||
=> Write(memoryAddress, item, false);
|
||||
|
||||
/// <summary>
|
||||
/// Writes a generic type to a specified memory address.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue