diff --git a/src/core/util.zig b/src/core/util.zig index 4fb13b8..d9544fb 100644 --- a/src/core/util.zig +++ b/src/core/util.zig @@ -222,7 +222,7 @@ pub const Logger = struct { cpu.r[12], cpu.r[13], cpu.r[14], - cpu.r[15] - 4, + cpu.r[15] - if (cpu.cpsr.t.read()) 2 else @as(u32, 4), cpu.cpsr.raw, opcode, };