From bbdb077089e5cbf626420c8d3564a649fc3d928e Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Sun, 21 Sep 2008 23:44:12 +0000 Subject: [PATCH] --- source/Indy.IL2CPU/Engine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Indy.IL2CPU/Engine.cs b/source/Indy.IL2CPU/Engine.cs index f035a85bd..52587dd90 100644 --- a/source/Indy.IL2CPU/Engine.cs +++ b/source/Indy.IL2CPU/Engine.cs @@ -165,7 +165,7 @@ namespace Indy.IL2CPU { // select Path.GetDirectoryName(item)).Distinct()); switch (aTargetPlatform) { case TargetPlatformEnum.X86: { - mMap = (OpCodeMap)Activator.CreateInstance(Type.GetType("Indy.IL2CPU.IL.X86.X86OpCodeMap, Indy.IL2CPU.IL.X86", true)); + mMap = new Indy.IL2CPU.IL.X86.X86OpCodeMap(); mAssembler = new Assembler.X86.Assembler(aGetFileNameForGroup, ((aDebugMode != DebugMode.None) && (aDebugMode != DebugMode.MLUsingGDB)) ? aDebugComNumber