mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
audio, fix sound issues in some intros
This commit is contained in:
parent
713e3a1c5b
commit
6f7beab435
2 changed files with 7 additions and 3 deletions
|
@ -169,8 +169,8 @@ PICO_INTERNAL void PsndDoFM(int cyc_to)
|
|||
// Q16, number of samples since last call
|
||||
len = (cyc_to * Pico.snd.clkl_mult) - Pico.snd.fm_pos;
|
||||
|
||||
// don't do this too often (about every 4th scanline)
|
||||
if (len >> 20 <= PicoIn.sndRate >> 12)
|
||||
// don't do this too often (about once every canline)
|
||||
if (len >> 16 <= PicoIn.sndRate >> 10)
|
||||
return;
|
||||
|
||||
// update position and calculate buffer offset and length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue