mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-25 18:31:14 +00:00
Merge pull request #62 from rakslice/fix_audio
Fix for audio crashes on second playback
This commit is contained in:
commit
cc5d99431f
@ -411,8 +411,8 @@ adat_error: printf("FATAL: audio component data block initialization error\n");
|
|||||||
// Close Apple Mixer
|
// Close Apple Mixer
|
||||||
r.a[0] = AudioStatus.mixer;
|
r.a[0] = AudioStatus.mixer;
|
||||||
Execute68k(audio_data + adatCloseMixer, &r);
|
Execute68k(audio_data + adatCloseMixer, &r);
|
||||||
|
D(bug(" CloseMixer() returns %08lx, mixer %08lx\n", r.d[0], AudioStatus.mixer));
|
||||||
AudioStatus.mixer = 0;
|
AudioStatus.mixer = 0;
|
||||||
return r.d[0];
|
|
||||||
}
|
}
|
||||||
r.a[0] = audio_data;
|
r.a[0] = audio_data;
|
||||||
Execute68kTrap(0xa01f, &r); // DisposePtr()
|
Execute68kTrap(0xa01f, &r); // DisposePtr()
|
||||||
|
Loading…
Reference in New Issue
Block a user