chore: move OAM, PALRAM and VRAM structs to separate files

This commit is contained in:
2022-09-18 07:17:54 -03:00
parent e906506e16
commit 8963fe205b
6 changed files with 162 additions and 162 deletions

View File

@@ -338,7 +338,7 @@ fn DmaController(comptime id: u2) type {
};
}
pub fn pollDmaOnBlank(bus: *Bus, comptime kind: DmaKind) void {
pub fn onBlanking(bus: *Bus, comptime kind: DmaKind) void {
comptime var i: usize = 0;
inline while (i < 4) : (i += 1) {
bus.dma[i].poll(kind);