Skip to content

Commit

Permalink
Merge pull request #62 from rakslice/fix_audio
Browse files Browse the repository at this point in the history
Fix for audio crashes on second playback
  • Loading branch information
kanjitalk755 authored Oct 23, 2020
2 parents 73f194f + 1892cf0 commit cc5d994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BasiliskII/src/audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cc5d994

Please sign in to comment.