Fix audio artifacts in the SGB jingle
This commit is contained in:
parent
16913f925b
commit
58df8144ec
@ -225,6 +225,8 @@ static void render(GB_gameboy_t *gb)
|
|||||||
gb->apu_output.last_update[i] = 0;
|
gb->apu_output.last_update[i] = 0;
|
||||||
}
|
}
|
||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user