From 69a8f903ef70845894ff07e0805d9cc60597cc7c Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Wed, 24 Oct 2018 20:20:12 -0700 Subject: progress of various sorts --- WitnessRandomizer/Memory.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WitnessRandomizer/Memory.h') diff --git a/WitnessRandomizer/Memory.h b/WitnessRandomizer/Memory.h index dc92349..adc1287 100644 --- a/WitnessRandomizer/Memory.h +++ b/WitnessRandomizer/Memory.h @@ -2,6 +2,9 @@ #include #include #include +#include +#include +using namespace std::chrono_literals; // https://github.com/erayarslan/WriteProcessMemory-Example // http://stackoverflow.com/q/32798185 @@ -22,6 +25,7 @@ public: { return data; } + // std::this_thread::sleep_for(10ms); } ThrowError(); } @@ -32,6 +36,7 @@ public: if (WriteProcessMemory(_handle, (LPVOID)ComputeOffset(offsets), &data[0], sizeof(T) * data.size(), NULL)) { return; } + // std::this_thread::sleep_for(10ms); } ThrowError(); } -- cgit 1.4.1