[*] added __fastfail, not quite the op i was thinking of, but it'll do.
This commit is contained in:
parent
fe424115f4
commit
0bcc0aa508
@ -79,11 +79,7 @@ namespace Aurora::Debug
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
||||||
// there is a syscall you can use to terminate in instances like this
|
__fastfail('FCKD');
|
||||||
// anticheats and drm love it
|
|
||||||
// i just dont remember what it is
|
|
||||||
// amendment: i believe its some software interrupt that raises an unhandleable exception
|
|
||||||
TerminateProcess(GetCurrentProcess(), 0xDEAD);
|
|
||||||
#else
|
#else
|
||||||
#if defined(AURORA_COMPILER_GCC) || defined(AURORA_COMPILER_CLANG)
|
#if defined(AURORA_COMPILER_GCC) || defined(AURORA_COMPILER_CLANG)
|
||||||
__builtin_trap();
|
__builtin_trap();
|
||||||
|
Loading…
Reference in New Issue
Block a user