We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d9056 commit 591c1a7Copy full SHA for 591c1a7
firmware/isoldr/loader/cdda.c
@@ -246,7 +246,7 @@ static void setup_pcm_buffer(void) {
246
cdda->size = 0x8000;
247
248
uint32 shift = 0;
249
- if(cdda->channels == 1 || cdda->trans_method >= PCM_TRANS_SQ_SPLIT) {
+ if(cdda->trans_method >= PCM_TRANS_SQ_SPLIT) {
250
shift += 1;
251
}
252
size_t ram_usage = cdda->size >> shift;
0 commit comments