mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 09:00:40 +02:00
Whole-tree reformat
This follows discussions from #3413. Followup commits add clang-format file, script and blame ignore lists.
This commit is contained in:
1 parent
028c220041
commit
2b4ec88dae
447 files changed
+78590
-73070
No files matched your search
@@ -1,15 +1,12 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
namespace FEXCore::Assert {
|
||||
// This function can not be inlined
|
||||
[[noreturn]]
|
||||
__attribute__((noinline, naked))
|
||||
void ForcedAssert() {
|
||||
// This function can not be inlined
|
||||
[[noreturn]]
|
||||
__attribute__((noinline, naked)) void ForcedAssert() {
|
||||
#ifdef _M_X86_64
|
||||
asm volatile("ud2");
|
||||
asm volatile("ud2");
|
||||
#else
|
||||
asm volatile("hlt #1");
|
||||
asm volatile("hlt #1");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace FEXCore::Assert
|
||||
Reference in new issue
Block a user