Compare commits

...

2 Commits

Author SHA1 Message Date
SmookeFR
03341861c2 Merge 35f022ba5c into 37041ea12c 2018-04-06 15:14:07 +00:00
SmookeFR
35f022ba5c assert: do not crash on unimplemented code in debug build
port from https://github.com/citra-emu/citra/pull/3474
2018-04-06 17:13:04 +02:00

View File

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