summaryrefslogtreecommitdiff
path: root/src/common/assert.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-07 13:35:41 -0700
committerGitHub <noreply@github.com>2021-04-07 13:35:41 -0700
commit3173a53db9f9b97bb45d510467c939ab33eeac1e (patch)
tree7c4dfba755429a8cdffd23b7db598662f6c2023d /src/common/assert.cpp
parentd490f6dcf823b3aac4610560ba7557f5c8def3f8 (diff)
parent9be819faaf8c1e6882c4ede339f4216d7ea72059 (diff)
Merge pull request #6130 from degasus/better_assert_handling
common: Move assert failure handling into a cpp file.
Diffstat (limited to 'src/common/assert.cpp')
-rw-r--r--src/common/assert.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/assert.cpp b/src/common/assert.cpp
new file mode 100644
index 000000000..d7d91b96b
--- /dev/null
+++ b/src/common/assert.cpp
@@ -0,0 +1,11 @@
+// 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"
+
+void assert_handle_failure() {
+ Crash();
+}