A32/translate_thumb: Correct IsThumb16

This commit is contained in:
MerryMage 2021-02-07 12:18:45 +00:00
parent 7e5ae6076a
commit 1c5f6882f0

View file

@ -25,7 +25,7 @@ enum class ThumbInstSize {
}; };
bool IsThumb16(u16 first_part) { bool IsThumb16(u16 first_part) {
return (first_part & 0xF800) <= 0xE800; return (first_part & 0xF800) < 0xE800;
} }
std::tuple<u32, ThumbInstSize> ReadThumbInstruction(u32 arm_pc, MemoryReadCodeFuncType memory_read_code) { std::tuple<u32, ThumbInstSize> ReadThumbInstruction(u32 arm_pc, MemoryReadCodeFuncType memory_read_code) {