summaryrefslogtreecommitdiffstats
path: root/src/common/assert.cpp
blob: 72f1121aa2d7c40f4c7960ec67b9c03c68241a12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2021 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/assert.h"
#include "common/common_funcs.h"

#include "common/settings.h"

void assert_handle_failure() {
    if (Settings::values.use_debug_asserts) {
        Crash();
    }
}