From 85f83592c75989fbb2da4546a1381971298b3fd9 Mon Sep 17 00:00:00 2001 From: Gabriel A Date: Thu, 4 Jan 2024 18:04:51 -0300 Subject: [PATCH] Host tracked needs signal handling too --- src/Ryujinx.Cpu/LightningJit/Translator.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx.Cpu/LightningJit/Translator.cs b/src/Ryujinx.Cpu/LightningJit/Translator.cs index a1ff448de..1087b2b6e 100644 --- a/src/Ryujinx.Cpu/LightningJit/Translator.cs +++ b/src/Ryujinx.Cpu/LightningJit/Translator.cs @@ -69,7 +69,9 @@ namespace Ryujinx.Cpu.LightningJit FunctionTable.Fill = (ulong)Stubs.SlowDispatchStub; - if (memory.Type == MemoryManagerType.HostMapped || memory.Type == MemoryManagerType.HostMappedUnsafe) + if (memory.Type == MemoryManagerType.HostTracked || + memory.Type == MemoryManagerType.HostMapped || + memory.Type == MemoryManagerType.HostMappedUnsafe) { NativeSignalHandler.InitializeSignalHandler(allocator.GetPageSize()); }