Update SigScanner.cs

missing log line
This commit is contained in:
pohky 2021-01-14 00:09:16 +01:00
parent 8fd683c2b4
commit 27cdcba6ec

View file

@ -130,6 +130,7 @@ namespace Dalamud.Game {
Log.Verbose("module copy START");
// .text
this.moduleCopyPtr = Marshal.AllocHGlobal(Module.ModuleMemorySize);
Log.Verbose($"Alloc: {this.moduleCopyPtr.ToInt64():x}");
Buffer.MemoryCopy(Module.BaseAddress.ToPointer(), this.moduleCopyPtr.ToPointer(), Module.ModuleMemorySize, Module.ModuleMemorySize);
this.moduleCopyOffset = this.moduleCopyPtr.ToInt64() - Module.BaseAddress.ToInt64();
Log.Verbose("copy OK!");