mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sound, fix buffer overrun
This commit is contained in:
parent
1ce2b0923c
commit
1510eeafd4
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@
|
|||
void (*PsndMix_32_to_16l)(short *dest, int *src, int count) = mix_32_to_16l_stereo;
|
||||
|
||||
// master int buffer to mix to
|
||||
static s32 PsndBuffer[2*(44100+100)/50];
|
||||
// +1 for a fill triggered by an instruction overhanging into the next scanline
|
||||
static s32 PsndBuffer[2*(44100+100)/50+2];
|
||||
|
||||
// cdda output buffer
|
||||
s16 cdda_out_buffer[2*1152];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue