feat(cpu): implement skipBios method

This commit is contained in:
2022-01-02 14:58:39 -06:00
parent eb37d73cb2
commit dee0e113d8
3 changed files with 16 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ pub const Io = struct {
pub fn write16(self: *@This(), addr: u32, halfword: u16) void {
switch (addr) {
0x0400_000 => self.dispcnt.val = halfword,
else => std.debug.panic("[I/O:16] tried to write {X:} to {X:}", .{ halfword, addr }),
else => std.debug.panic("[I/O:16] tried to write 0x{X:} to 0x{X:}", .{ halfword, addr }),
}
}