fix: update Iced in Injector, fix build

This commit is contained in:
goat 2022-07-17 14:46:48 +02:00
parent 8d9070a1b3
commit 8c066451ec
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
6 changed files with 44 additions and 54 deletions

View file

@ -731,7 +731,7 @@ namespace Dalamud.Injector
using var startInfoBuffer = new MemoryBufferHelper(process).CreatePrivateMemoryBuffer(startInfoBytes.Length + 0x8);
var startInfoAddress = startInfoBuffer.Add(startInfoBytes);
if (startInfoAddress == IntPtr.Zero)
if (startInfoAddress == 0)
throw new Exception("Unable to allocate start info JSON");
injector.GetFunctionAddress(bootModule, "Initialize", out var initAddress);