Compare commits

..

4 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka dcdbfed4a6 fix: properly resovle stack UAF 2022-09-16 02:10:20 -03:00
Rekai Nyangadzayi Musuka 86f675a8d2 chore: shorten `orelse @panic` to `.?` 2022-09-12 23:19:39 -03:00
Rekai Nyangadzayi Musuka f75479bf8f fix: update GpioData extern union
u4's are no longer supported in extern unions :\
2022-09-12 23:19:39 -03:00
Rekai Nyangadzayi Musuka 2db97412d4 tmp: incomplete impl of GPIO + RTC 2022-09-12 23:19:39 -03:00
1 changed files with 0 additions and 2 deletions

View File

@ -80,8 +80,6 @@ pub fn read(bus: *const Bus, comptime T: type, address: u32) ?T {
0x0400_000E => bus.ppu.bg[3].cnt.raw,
0x0400_004C => util.io.read.todo(log, "Read {} from MOSAIC", .{T}),
0x0400_0050 => bus.ppu.bldcnt.raw,
0x0400_0052 => bus.ppu.bldalpha.raw,
0x0400_0054 => bus.ppu.bldy.raw,
// Sound
0x0400_0060...0x0400_009E => apu.read(T, &bus.apu, address),