feat: resolve off-by-{word, halfword} errors when printing debug info

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-07-28 21:03:32 -03:00
parent c97abea94a
commit 5b75844d88
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,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,
}; };