Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #6870 from yzct12345/trace-back-stack-back-stack-back

bunnei4ef01eb41ed6
diff --cc src/common/logging/backend.cpp
index 949384fd3d,4e7cfdc99f..6f1d251e19
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@@ -153,8 -160,16 +161,16 @@@ public
void EnableForStacktrace() override {}
};
-bool initialization_in_progress_suppress_logging = false;
+bool initialization_in_progress_suppress_logging = true;
+ #ifdef YUZU_LINUX_GCC_BACKTRACE
+ [[noreturn]] void SleepForever() {
+ while (true) {
+ pause();
+ }
+ }
+ #endif
+
/**
* Static state as a singleton.
*/