diff --git a/source2/IL2CPU/Cosmos.IL2CPU.X86/CosmosAssembler.cs b/source2/IL2CPU/Cosmos.IL2CPU.X86/CosmosAssembler.cs index f86f9f0eb..0b83014b4 100644 --- a/source2/IL2CPU/Cosmos.IL2CPU.X86/CosmosAssembler.cs +++ b/source2/IL2CPU/Cosmos.IL2CPU.X86/CosmosAssembler.cs @@ -160,7 +160,9 @@ namespace Cosmos.IL2CPU.X86 { DataMembers.Add(new DataMember("_NATIVE_IDT_Contents", new byte[xIdtSize])); // //SetIdtDescriptor(1, "DebugStub_INT0"); - SetIdtDescriptor(3, "DebugStub_TracerEntry", false); + if (mComNumber > 0) { + SetIdtDescriptor(3, "DebugStub_TracerEntry", false); + } //SetIdtDescriptor(1, "DebugStub_INT0"); - Change to GPF // Set IDT