translate_thumb: Fix bug in TranslateSingleThumbInstruction
This commit is contained in:
parent
aa89418e8b
commit
8b612edb75
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ bool TranslateSingleThumbInstruction(IR::Block& block, LocationDescriptor descri
|
||||||
should_continue = visitor.thumb16_UDF();
|
should_continue = visitor.thumb16_UDF();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
thumb_instruction = Common::SwapHalves32(thumb_instruction);
|
||||||
if (const auto decoder = DecodeThumb32<ThumbTranslatorVisitor>(thumb_instruction)) {
|
if (const auto decoder = DecodeThumb32<ThumbTranslatorVisitor>(thumb_instruction)) {
|
||||||
should_continue = decoder->get().call(visitor, thumb_instruction);
|
should_continue = decoder->get().call(visitor, thumb_instruction);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue