early-access version 2778

This commit is contained in:
pineappleEA 2022-06-14 01:55:11 +02:00
parent 0097b9671a
commit 5dbf3888f4
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2777. This is the source code for early-access 2778.
## Legal Notice ## Legal Notice

View File

@ -14,13 +14,13 @@ void assert_fail_impl();
[[noreturn]] void unreachable_impl(); [[noreturn]] void unreachable_impl();
#ifdef _MSC_VER #ifdef _MSC_VER
#define NO_INLINE __declspec(noinline) #define YUZU_NO_INLINE __declspec(noinline)
#else #else
#define NO_INLINE __attribute__((noinline)) #define YUZU_NO_INLINE __attribute__((noinline))
#endif #endif
#define ASSERT(_a_) \ #define ASSERT(_a_) \
([&]() NO_INLINE { \ ([&]() YUZU_NO_INLINE { \
if (!(_a_)) [[unlikely]] { \ if (!(_a_)) [[unlikely]] { \
LOG_CRITICAL(Debug, "Assertion Failed!"); \ LOG_CRITICAL(Debug, "Assertion Failed!"); \
assert_fail_impl(); \ assert_fail_impl(); \
@ -28,7 +28,7 @@ void assert_fail_impl();
}()) }())
#define ASSERT_MSG(_a_, ...) \ #define ASSERT_MSG(_a_, ...) \
([&]() NO_INLINE { \ ([&]() YUZU_NO_INLINE { \
if (!(_a_)) [[unlikely]] { \ if (!(_a_)) [[unlikely]] { \
LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); \ LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); \
assert_fail_impl(); \ assert_fail_impl(); \