mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-14 02:50:01 +01:00
translate_thumb: Fix bug in TranslateSingleThumbInstruction
This commit is contained in:
parent
aa89418e8b
commit
8b612edb75
@ -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…
x
Reference in New Issue
Block a user