This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 06:43:26 +00:00
|
|
|
// 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"
|
|
|
|
|
2021-04-14 23:07:40 +00:00
|
|
|
#include "common/settings.h"
|
2021-04-14 01:38:10 +00:00
|
|
|
|
2021-04-02 06:43:26 +00:00
|
|
|
void assert_handle_failure() {
|
2021-04-14 01:38:10 +00:00
|
|
|
if (Settings::values.use_debug_asserts) {
|
|
|
|
Crash();
|
|
|
|
}
|
2021-04-02 06:43:26 +00:00
|
|
|
}
|