summaryrefslogtreecommitdiffstats
path: root/src/common/assert.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-27 13:54:05 +0200
committerLioncash <mathew1800@gmail.com>2018-04-27 16:04:02 +0200
commit847549663090aeef89debc6213ef17b7f14e0b0e (patch)
tree899731d5c75a7b40a8aa72f5e115f86e10078745 /src/common/assert.h
parentMerge pull request #380 from ogniK5377/service-impl (diff)
downloadyuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.gz
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.bz2
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.lz
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.xz
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.tar.zst
yuzu-847549663090aeef89debc6213ef17b7f14e0b0e.zip
Diffstat (limited to '')
-rw-r--r--src/common/assert.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/assert.h b/src/common/assert.h
index 655446f34..3ee07f6a2 100644
--- a/src/common/assert.h
+++ b/src/common/assert.h
@@ -30,14 +30,15 @@ __declspec(noinline, noreturn)
#define ASSERT(_a_) \
do \
if (!(_a_)) { \
- assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \
+ assert_noinline_call([] { NGLOG_CRITICAL(Debug, "Assertion Failed!"); }); \
} \
while (0)
#define ASSERT_MSG(_a_, ...) \
do \
if (!(_a_)) { \
- assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \
+ assert_noinline_call( \
+ [&] { NGLOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \
} \
while (0)