From 1c5f6882f00011cf59b83fc66165a0a17747af0d Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 7 Feb 2021 12:18:45 +0000 Subject: [PATCH] A32/translate_thumb: Correct IsThumb16 --- src/frontend/A32/translate/translate_thumb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/A32/translate/translate_thumb.cpp b/src/frontend/A32/translate/translate_thumb.cpp index 5ec8b37b..35f7de5c 100644 --- a/src/frontend/A32/translate/translate_thumb.cpp +++ b/src/frontend/A32/translate/translate_thumb.cpp @@ -25,7 +25,7 @@ enum class ThumbInstSize { }; bool IsThumb16(u16 first_part) { - return (first_part & 0xF800) <= 0xE800; + return (first_part & 0xF800) < 0xE800; } std::tuple ReadThumbInstruction(u32 arm_pc, MemoryReadCodeFuncType memory_read_code) {