Fixing audio glitches with wave and noise channels

This commit is contained in:
2025-02-14 16:44:22 -07:00
parent 8fc7992ca5
commit 96c0196306
7 changed files with 166 additions and 25 deletions

View File

@ -16,6 +16,7 @@ void ppu_init() {
ctx.current_frame = 0;
ctx.line_ticks = 0;
ctx.video_buffer = malloc(YRES * XRES * sizeof(u32));
ctx.target_frame_time = 1000/60;
ctx.pfc.line_x = 0;
ctx.pfc.pushed_x = 0;