From e9ebe9f87a24fafb1b939da1944c5d3a313e7bae Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Sun, 7 Jun 2026 11:47:20 +0200 Subject: [PATCH] bruh moment --- src/core/signals.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/signals.cpp b/src/core/signals.cpp index b39b95c42..066f98b77 100644 --- a/src/core/signals.cpp +++ b/src/core/signals.cpp @@ -28,9 +28,7 @@ extern std::array Handlers; namespace Core { -namespace Core { extern Emulator* g_emu; -} #if defined(_WIN32) @@ -68,8 +66,8 @@ static LONG WINAPI SignalHandler(EXCEPTION_POINTERS* pExp) noexcept { // Breakpoints almost certainly come from our asserts/unreachables, no need to log it again. if (code != EXCEPTION_BREAKPOINT) { LOG_CRITICAL(Debug, "Unhandled Exception code {:#x} at {}", code, address); - if (Core::g_emu) { - Core::g_emu->~Emulator(); + if (g_emu) { + g_emu->~Emulator(); } }