Browse Source

[core/hle/kernel] fix scoped JIT remnants

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2912/head
lizzie 3 months ago
parent
commit
f76943cfd2
No known key found for this signature in database GPG Key ID: 287378CADCAB13
  1. 7
      src/core/hle/kernel/k_process.cpp

7
src/core/hle/kernel/k_process.cpp

@ -1266,13 +1266,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<Core::ArmNce>(m_kernel.System(), true, i);
}
} else
#endif
if (this->Is64Bit()) {

Loading…
Cancel
Save