feat: resolve off-by-{word, halfword} errors when printing debug info
This commit is contained in:
parent
db8c69e9bf
commit
ac4bce080d
|
@ -222,7 +222,7 @@ pub const Logger = struct {
|
||||||
cpu.r[12],
|
cpu.r[12],
|
||||||
cpu.r[13],
|
cpu.r[13],
|
||||||
cpu.r[14],
|
cpu.r[14],
|
||||||
cpu.r[15] - 4,
|
cpu.r[15] - if (cpu.cpsr.t.read()) 2 else @as(u32, 4),
|
||||||
cpu.cpsr.raw,
|
cpu.cpsr.raw,
|
||||||
opcode,
|
opcode,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue