From 8931ee109f010c9a0771b670572f4a1e0913ece6 Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 13 Jan 2026 10:42:57 +0000 Subject: [PATCH] fix atexit impl --- src/yuzu_cmd/yuzu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 8271ea713d..59ff32796f 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -56,7 +56,9 @@ #include #include <__thread/support.h> # define STUB_WEAK(name) extern "C" void name() { printf("called " #name); asm volatile("ud2"); } -void *__cxa_thread_atexit_impl = nullptr; +extern "C" void __cxa_thread_atexit_impl() { + //printf("atexit called"); +} STUB_WEAK(__assert) STUB_WEAK(ZSTD_trace_compress_begin) STUB_WEAK(ZSTD_trace_compress_end)