From 305fc3fdac76574ae3f74fc188915993583c2cca Mon Sep 17 00:00:00 2001 From: oicu Date: Tue, 25 Oct 2022 10:52:53 +0800 Subject: [PATCH] fix ReadKernelVM WriteKernelVM arguments --- Source/Hamakaze/ps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Hamakaze/ps.cpp b/Source/Hamakaze/ps.cpp index 8f30f9f..af4f4e3 100644 --- a/Source/Hamakaze/ps.cpp +++ b/Source/Hamakaze/ps.cpp @@ -177,7 +177,7 @@ BOOL KDUControlProcess( Buffer = 0; - if (Context->Provider->Callbacks.ReadKernelVM(Context, + if (Context->Provider->Callbacks.ReadKernelVM(Context->DeviceHandle, VirtualAddress, &Buffer, sizeof(ULONG))) @@ -204,7 +204,7 @@ BOOL KDUControlProcess( PsProtection->Type = PsProtectedTypeNone; PsProtection->Audit = 0; - bResult = Context->Provider->Callbacks.WriteKernelVM(Context, + bResult = Context->Provider->Callbacks.WriteKernelVM(Context->DeviceHandle, VirtualAddress, &Buffer, sizeof(ULONG));