mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 07:17:53 +01:00
Rework DalamudServices,
This commit is contained in:
parent
d8f5851e0c
commit
f022d2be64
19 changed files with 230 additions and 250 deletions
|
|
@ -13,7 +13,7 @@ namespace Penumbra.Interop.ResourceLoading;
|
|||
/// </summary>
|
||||
public unsafe class CreateFileWHook : IDisposable
|
||||
{
|
||||
public const int RequiredSize = 28;
|
||||
public const int Size = 28;
|
||||
|
||||
public CreateFileWHook(IGameInteropProvider interop)
|
||||
{
|
||||
|
|
@ -57,8 +57,8 @@ public unsafe class CreateFileWHook : IDisposable
|
|||
ptr[22] = (byte)(l >> 16);
|
||||
ptr[24] = (byte)(l >> 24);
|
||||
|
||||
ptr[RequiredSize - 2] = 0;
|
||||
ptr[RequiredSize - 1] = 0;
|
||||
ptr[Size - 2] = 0;
|
||||
ptr[Size - 1] = 0;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue