diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index e90a7fc4e..3de94d69c 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -1277,9 +1277,9 @@ template void Proces target.full = int8_t(data.halves.low) + source; \ \ if(data.full & 0x800) { \ - target.full += int16_t(displacement.halves.low.full); \ - } else { \ target.full += displacement.full; \ + } else { \ + target.full += int16_t(displacement.halves.low.full); \ } \ } case int(MicroOp::Action::CalcD8AnXn) | MicroOp::SourceMask: {