diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index db25a1ee6..4cd34ac1a 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -1605,7 +1605,7 @@ template void Proces \ if(shift_count >= size) overflow_flag_ = value && (value != decltype(value)(-1)); \ else { \ - const auto mask = decltype(destination)((0xffffffff << (size - shift_count)) & ((1 << size) - 1)); \ + const auto mask = decltype(destination)(0xffffffff << (size - shift_count)); \ overflow_flag_ = mask & value && ((mask & value) != mask); \ } \ } \