Skip to content

Commit

Permalink
remove errant return in audio component close handler
Browse files Browse the repository at this point in the history
  • Loading branch information
rakslice committed Oct 22, 2020
1 parent 73f194f commit 1892cf0
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 1892cf0

Please sign in to comment.