1
0
Fork 0

Tandy now started from the speaker section.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@337
This commit is contained in:
Sjoerd van der Berg 2002-10-18 09:06:44 +00:00
parent 7eb6dacc91
commit d788b1c81b

View file

@ -128,7 +128,7 @@ static void TANDYSOUND_CallBack(Bit8u * stream,Bit32u len) {
void TANDYSOUND_Init(Section* sec) {
Section_prop * section=static_cast<Section_prop *>(sec);
if(!section->Get_bool("STATUS")) return;
if(!section->Get_bool("tandy")) return;
IO_RegisterWriteHandler(0xc0,write_pc0,"Tandy Sound");
tandy_chan=MIXER_AddChannel(&TANDYSOUND_CallBack,TANDY_RATE,"TANDY");
MIXER_Enable(tandy_chan,false);