Merge pull request #62 from rakslice/fix_audio

Fix for audio crashes on second playback
This commit is contained in:
kanjitalk755 2020-10-23 12:27:01 +09:00 committed by GitHub
commit cc5d99431f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -411,8 +411,8 @@ adat_error: printf("FATAL: audio component data block initialization error\n");
// Close Apple Mixer
r.a[0] = AudioStatus.mixer;
Execute68k(audio_data + adatCloseMixer, &r);
D(bug(" CloseMixer() returns %08lx, mixer %08lx\n", r.d[0], AudioStatus.mixer));
AudioStatus.mixer = 0;
return r.d[0];
}
r.a[0] = audio_data;
Execute68kTrap(0xa01f, &r); // DisposePtr()