diff options
author | Liam <byteslice@airmail.cc> | 2024-01-30 06:44:26 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-09 15:20:53 +0100 |
commit | 2e8c21ad2d2de1d42db7a02e67adb71a57df7b98 (patch) | |
tree | c09a31cc797fd717c8129a54fd0d2ce0f5f39c92 /src/core | |
parent | Merge pull request #12967 from german77/let_me_out (diff) | |
download | yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar.gz yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar.bz2 yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar.lz yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar.xz yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.tar.zst yuzu-2e8c21ad2d2de1d42db7a02e67adb71a57df7b98.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_process.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index 0b08e877e..1bcc42890 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp @@ -4,8 +4,9 @@ #include <random> #include "common/scope_exit.h" #include "common/settings.h" +#include "core/arm/dynarmic/arm_dynarmic.h" +#include "core/arm/dynarmic/dynarmic_exclusive_monitor.h" #include "core/core.h" -#include "core/gpu_dirty_memory_manager.h" #include "core/hle/kernel/k_process.h" #include "core/hle/kernel/k_scoped_resource_reservation.h" #include "core/hle/kernel/k_shared_memory.h" @@ -1258,6 +1259,10 @@ 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++) { m_arm_interfaces[i] = std::make_unique<Core::ArmNce>(m_kernel.System(), true, i); } |