2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #635 from FearlessTobi/port-crashfix

Port #3474 from Citra: Do not crash on unimplemented code in debug build
This commit is contained in:
bunnei 2018-07-09 17:08:25 -07:00 committed by GitHub
commit ef2c955db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,5 +52,5 @@ __declspec(noinline, noreturn)
#define DEBUG_ASSERT_MSG(_a_, _desc_, ...) #define DEBUG_ASSERT_MSG(_a_, _desc_, ...)
#endif #endif
#define UNIMPLEMENTED() DEBUG_ASSERT_MSG(false, "Unimplemented code!") #define UNIMPLEMENTED() LOG_CRITICAL(Debug, "Unimplemented code!")
#define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__) #define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__)