[*] added __fastfail, not quite the op i was thinking of, but it'll do.

This commit is contained in:
Reece Wilson 2022-01-26 05:53:18 +00:00
parent fe424115f4
commit 0bcc0aa508

View File

@ -79,11 +79,7 @@ namespace Aurora::Debug
}
#if defined(AURORA_IS_MODERNNT_DERIVED)
// there is a syscall you can use to terminate in instances like this
// 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);
__fastfail('FCKD');
#else
#if defined(AURORA_COMPILER_GCC) || defined(AURORA_COMPILER_CLANG)
__builtin_trap();