summaryrefslogtreecommitdiffstats
path: root/src/common/assert.cpp
blob: b44570528514cf43a8d294335ecc55dd021aef7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

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

#include "common/settings.h"

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