2021-04-08 00:30:26 +02:00
|
|
|
// Copyright 2021 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/assert.h"
|
2021-04-14 05:52:45 +02:00
|
|
|
#include "common/common_funcs.h"
|
2021-04-08 00:30:26 +02:00
|
|
|
|
2021-04-14 05:52:45 +02:00
|
|
|
#include "core/settings.h"
|
|
|
|
|
|
|
|
void assert_handle_failure() {
|
|
|
|
if (Settings::values.use_debug_asserts) {
|
|
|
|
Crash();
|
|
|
|
}
|
|
|
|
}
|