feat: implement force irqs for GPIO/RTC

This commit is contained in:
2022-09-16 03:54:44 -03:00
parent 92417025e9
commit c977f3f965
2 changed files with 21 additions and 20 deletions

View File

@@ -51,7 +51,7 @@ sched: *Scheduler,
pub fn init(self: *Self, allocator: Allocator, sched: *Scheduler, cpu: *Arm7tdmi, paths: FilePaths) !void {
self.* = .{
.pak = try GamePak.init(allocator, paths.rom, paths.save),
.pak = try GamePak.init(allocator, cpu, paths.rom, paths.save),
.bios = try Bios.init(allocator, paths.bios),
.ppu = try Ppu.init(allocator, sched),
.apu = Apu.init(sched),