This commit is contained in:
tildearrow 2023-01-02 04:53:37 -05:00
parent e06b2f6952
commit 3e0dcbb0ae
104 changed files with 233 additions and 233 deletions

View file

@ -265,11 +265,11 @@ const char** DivPlatformQSound::getRegisterSheet() {
return regCheatSheetQSound;
}
void DivPlatformQSound::acquire(short* bufL, short* bufR, size_t start, size_t len) {
void DivPlatformQSound::acquire(short** buf, size_t len) {
for (size_t h=start; h<start+len; h++) {
qsound_update(&chip);
bufL[h]=chip.out[0];
bufR[h]=chip.out[1];
buf[0][h]=chip.out[0];
buf[1][h]=chip.out[1];
for (int i=0; i<19; i++) {
int data=chip.voice_output[i]<<2;