mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-29 10:50:17 +00:00
Merge pull request #3474 from wwylele/fuck-you-unimplemented
assert: do not crash on unimplemented code in debug build
This commit is contained in:
commit
1a2f29aad0
1 changed files with 1 additions and 1 deletions
|
@ -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(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__)
|
#define UNIMPLEMENTED_MSG(_a_, ...) ASSERT_MSG(false, _a_, __VA_ARGS__)
|
||||||
|
|
Loading…
Reference in a new issue