chore(ppu): reimplement modes 3, 4, and 5

This commit is contained in:
2022-11-03 07:38:46 -03:00
parent c1c8cac6e4
commit 52ce4f3d20
2 changed files with 27 additions and 21 deletions

View File

@@ -42,6 +42,6 @@ pub fn deinit(self: *Self) void {
self.* = undefined;
}
pub fn backdrop(self: *const Self) u16 {
return self.read(u16, 0);
pub inline fn backdrop(self: *const Self) u16 {
return std.mem.readIntNative(u16, self.buf[0..2]);
}