Fix audio artifacts in the SGB jingle
@@ -226,6 +226,8 @@ static void render(GB_gameboy_t *gb)
}
gb->apu_output.cycles_since_render = 0;
+ if (gb->sgb && gb->sgb->intro_animation < GB_SGB_INTRO_ANIMATION_LENGTH) return;
+
GB_sample_t filtered_output = gb->apu_output.highpass_mode?
(GB_sample_t) {output.left - gb->apu_output.highpass_diff.left,
output.right - gb->apu_output.highpass_diff.right} :
