fix: account for lateness in RTC scheduler event
This commit is contained in:
@@ -66,7 +66,7 @@ pub const Scheduler = struct {
|
||||
if (device.kind != .Rtc or device.ptr == null) return;
|
||||
|
||||
const clock = @ptrCast(*Clock, @alignCast(@alignOf(*Clock), device.ptr.?));
|
||||
clock.updateTime();
|
||||
clock.updateTime(late);
|
||||
},
|
||||
.FrameSequencer => cpu.bus.apu.tickFrameSequencer(late),
|
||||
.SampleAudio => cpu.bus.apu.sampleAudio(late),
|
||||
|
Reference in New Issue
Block a user