translate_thumb: IsThumb16: Mask not required

This commit is contained in:
Merry 2022-07-20 17:34:31 +01:00
parent 72c87d11e4
commit 34cb465fc7

View file

@ -31,7 +31,7 @@ enum class ThumbInstSize {
};
bool IsThumb16(u16 first_part) {
return (first_part & 0xF800) < 0xE800;
return first_part < 0xE800;
}
bool IsUnconditionalInstruction(bool is_thumb_16, u32 instruction) {