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_, ...)
#endif
#define UNIMPLEMENTED() DEBUG_ASSERT_MSG(false, "Unimplemented code!")
#define UNIMPLEMENTED() LOG_CRITICAL(Debug, "Unimplemented code!")
#define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__)