From bfb112dad16dd4ef460aaf97f459c2bbde3fabe6 Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 31 Oct 2025 19:22:51 +0100 Subject: [PATCH] [core/hle/kernel] fix scoped JIT remnants (#2912) Signed-off-by: lizzie Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2912 Reviewed-by: MaranBr Reviewed-by: Shinmegumi Co-authored-by: lizzie Co-committed-by: lizzie --- src/core/hle/kernel/k_process.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index 80566b7e77..51f86b2afd 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later @@ -1266,13 +1269,8 @@ void KProcess::InitializeInterfaces() { #ifdef HAS_NCE if (this->IsApplication() && Settings::IsNceEnabled()) { - // Register the scoped JIT handler before creating any NCE instances - // so that its signal handler will appear first in the signal chain. - Core::ScopedJitExecution::RegisterHandler(); - - for (size_t i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) { + for (size_t i = 0; i < Core::Hardware::NUM_CPU_CORES; i++) m_arm_interfaces[i] = std::make_unique(m_kernel.System(), true, i); - } } else #endif if (this->Is64Bit()) {