feat: pass jsmolka memory.gba

This commit is contained in:
2022-10-21 05:12:34 -03:00
parent 135987745c
commit 27ad8772ea
2 changed files with 24 additions and 5 deletions

View File

@@ -123,7 +123,7 @@ pub fn write(self: *Self, comptime T: type, address: u32, value: T) void {
// Internal Display Memory
0x05 => self.ppu.palette.write(T, align_addr, value),
0x06 => self.ppu.vram.write(T, align_addr, value),
0x06 => self.ppu.vram.write(T, self.ppu.dispcnt, align_addr, value),
0x07 => self.ppu.oam.write(T, align_addr, value),
// External Memory (Game Pak)