mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Convert the AES Lanier decoder.
This commit is contained in:
@@ -32,7 +32,8 @@ std::unique_ptr<AbstractDecoder> AbstractDecoder::create(const DecoderProto& con
|
||||
static const std::map<int,
|
||||
std::function<std::unique_ptr<AbstractDecoder>(const DecoderProto&)>> decoders =
|
||||
{
|
||||
{ DecoderProto::kAmiga, createAmigaDecoder },
|
||||
{ DecoderProto::kAeslanier, createAesLanierDecoder },
|
||||
{ DecoderProto::kAmiga, createAmigaDecoder },
|
||||
};
|
||||
|
||||
auto decoder = decoders.find(config.format_case());
|
||||
@@ -50,9 +51,6 @@ std::unique_ptr<AbstractDecoder> AbstractDecoder::create(const DecoderProto& con
|
||||
case DecoderProto::kAeslanier:
|
||||
return std::unique_ptr<AbstractDecoder>(new AesLanierDecoder(config.aeslanier()));
|
||||
|
||||
case DecoderProto::kAmiga:
|
||||
return std::unique_ptr<AbstractDecoder>(new AmigaDecoder(config.amiga()));
|
||||
|
||||
case DecoderProto::kApple2:
|
||||
return std::unique_ptr<AbstractDecoder>(new Apple2Decoder(config.apple2()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user