Fix audio artifacts in the SGB jingle
This commit is contained in:
parent
16913f925b
commit
58df8144ec
@ -226,6 +226,8 @@ static void render(GB_gameboy_t *gb)
|
|||||||
}
|
}
|
||||||
gb->apu_output.cycles_since_render = 0;
|
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 filtered_output = gb->apu_output.highpass_mode?
|
||||||
(GB_sample_t) {output.left - gb->apu_output.highpass_diff.left,
|
(GB_sample_t) {output.left - gb->apu_output.highpass_diff.left,
|
||||||
output.right - gb->apu_output.highpass_diff.right} :
|
output.right - gb->apu_output.highpass_diff.right} :
|
||||||
|
Loading…
Reference in New Issue
Block a user