Merge branch 'develop' of https://github.com/diamante0018/iw4x-client into develop

This commit is contained in:
Diavolo 2021-07-18 22:47:35 +02:00
commit f09305c315

View File

@ -399,10 +399,10 @@ namespace Components
// quit_hard // quit_hard
Command::Add("quit_hard", [](Command::Params*) Command::Add("quit_hard", [](Command::Params*)
{ {
int data = false; int data = false;
const Utils::Library ntdll("ntdll.dll"); const Utils::Library ntdll("ntdll.dll");
ntdll.invoke_pascal<void>("RtlAdjustPrivilege", 19, true, false, &data); ntdll.invoke_pascal<void>("RtlAdjustPrivilege", 19, true, false, &data);
ntdll.invoke_pascal<void>("NtRaiseHardError", 0xC000007B, 0, nullptr, nullptr, 6, &data); ntdll.invoke_pascal<void>("NtRaiseHardError", 0xC000007B, 0, nullptr, nullptr, 6, &data);
}); });
// bounce dvar // bounce dvar