early-access version 2777

This commit is contained in:
pineappleEA
2022-06-13 23:17:19 +02:00
parent 44556fe877
commit 0097b9671a
23 changed files with 344 additions and 96 deletions

View File

@@ -6,13 +6,9 @@
#include "common/settings.h"
void assert_check_condition(bool cond, std::function<void()>&& on_failure) {
if (!cond) [[unlikely]] {
on_failure();
if (Settings::values.use_debug_asserts) {
Crash();
}
void assert_fail_impl() {
if (Settings::values.use_debug_asserts) {
Crash();
}
}