fixed some issues with how i read/write phys

master
_xeroxz 4 years ago
parent 6d71fea24e
commit a91a882ab9

@ -41,13 +41,13 @@ int __cdecl main(int argc, char** argv)
_read_phys =
[&](void* addr, void* buffer, std::size_t size) -> bool
{
return my_proc.read_phys(addr, buffer, size);
return my_proc.read_phys(buffer, addr, size);
};
_write_phys =
[&](void* addr, void* buffer, std::size_t size) -> bool
{
return my_proc.write_phys(addr, buffer, size);
return my_proc.write_phys(buffer, addr, size);
};
std::printf("[+] sleeping 30 seconds...\n");

Loading…
Cancel
Save