feat: pass jsmolka memory.gba

This commit is contained in:
2022-04-11 22:52:17 -03:00
parent ad1f5ea8b8
commit 2c763e9772
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)