Browse Source

Merge pull request #635 from FearlessTobi/port-crashfix

Port #3474 from Citra: Do not crash on unimplemented code in debug build
bunnei 8 năm trước cách đây
mục cha
commit
ef2c955db5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/common/assert.h

+ 1 - 1
src/common/assert.h

@@ -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__)