diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index 79da52473..13f936acd 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -18,8 +18,6 @@ #include <array> -extern template class InstructionSet::x86::Decoder<InstructionSet::x86::Model::i8086>; - namespace PCCompatible { struct Registers { @@ -418,7 +416,7 @@ class ConcreteMachine: IO io; static constexpr auto model = InstructionSet::x86::Model::i8086; } context; - InstructionSet::x86::Decoder<Context::model> decoder; + InstructionSet::x86::Decoder<InstructionSet::x86::Model::i8086> decoder; std::pair<int, InstructionSet::x86::Instruction<false>> decoded; };