feat(cpu): implement skipBios method

This commit is contained in:
2022-10-21 05:11:46 -03:00
parent 82fb5e7a93
commit c6de540c8a
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 }),
}
}