Skip to content

Commit fa42d78

Browse files
committed
(b)
1 parent fac05f4 commit fa42d78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cores/gba/rtl/cpu/CPU.sv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ module ARM7TMDI (
410410

411411
if (control_signals.set_thumb_mode) begin
412412
regs.CPSR[5] <= B_bus[0];
413-
`WRITE_REG(regs, cpu_mode, 4'd15, B_bus & ~32'd1, execution_mode,
414-
!control_signals.force_no_align_pc)
413+
`WRITE_REG(regs, cpu_mode, 4'd15, B_bus & ~32'd1, execution_mode, 1'b0)
415414
flush_req <= 1'b1;
416415
$display("Setting Thumb mode bit in CPSR");
417416
end

0 commit comments

Comments
 (0)