translate_thumb: Fix bug in TranslateSingleThumbInstruction

This commit is contained in:
MerryMage 2021-02-06 21:22:56 +00:00
parent aa89418e8b
commit 8b612edb75

View file

@ -105,6 +105,7 @@ bool TranslateSingleThumbInstruction(IR::Block& block, LocationDescriptor descri
should_continue = visitor.thumb16_UDF();
}
} else {
thumb_instruction = Common::SwapHalves32(thumb_instruction);
if (const auto decoder = DecodeThumb32<ThumbTranslatorVisitor>(thumb_instruction)) {
should_continue = decoder->get().call(visitor, thumb_instruction);
} else {