diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 40a3f35b46..9979be2e1e 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -57,7 +57,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)