diff --git a/src/common/assert.h b/src/common/assert.h index 87a3a71705..d7617f8b1c 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -25,7 +25,7 @@ void AssertFailSoftImpl(); #define ASSERT(_a_) \ ([&]() YUZU_NO_INLINE { \ if (!(_a_)) [[unlikely]] { \ - LOG_CRITICAL(Debug, __FILE__ ":" #_a_ ": assert"); \ + LOG_CRITICAL(Debug, #_a_ ": assert"); \ AssertFailSoftImpl(); \ } \ }()) @@ -33,7 +33,7 @@ void AssertFailSoftImpl(); #define ASSERT_MSG(_a_, ...) \ ([&]() YUZU_NO_INLINE { \ if (!(_a_)) [[unlikely]] { \ - LOG_CRITICAL(Debug, __FILE__ ":" #_a_ ": assert\n" __VA_ARGS__); \ + LOG_CRITICAL(Debug, #_a_ ": assert\n" __VA_ARGS__); \ AssertFailSoftImpl(); \ } \ }())