mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Magic the magic happen
This commit is contained in:
parent
84769ae5b7
commit
658eedca37
188 changed files with 10329 additions and 3549 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -17,12 +16,10 @@ namespace Dalamud
|
|||
public static class SafeMemory
|
||||
{
|
||||
private static readonly IntPtr Handle;
|
||||
private static readonly IntPtr MainModule;
|
||||
|
||||
static SafeMemory()
|
||||
{
|
||||
Handle = Imports.GetCurrentProcess();
|
||||
MainModule = Process.GetCurrentProcess().MainModule?.BaseAddress ?? IntPtr.Zero;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue