aboutsummaryrefslogtreecommitdiff
path: root/src/common/assert.cpp
blob: 4f599af5575186ef8192088d5a9d772723e201df (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 "core/settings.h"

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