Speaker init in BIOS causes samples to be generated at startup, so for now move it to hardware.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3959
This commit is contained in:
parent
81e4f773f5
commit
fe46abe6ff
2 changed files with 2 additions and 5 deletions
|
@ -332,7 +332,8 @@ public:
|
|||
spkr.last_ticks=0;
|
||||
spkr.last_index=0;
|
||||
spkr.rate=section->Get_int("pcrate");
|
||||
spkr.pit_max=(1000.0f/PIT_TICK_RATE)*65535;
|
||||
spkr.pit_mode=3;
|
||||
spkr.pit_max=(1000.0f/PIT_TICK_RATE)*1320;
|
||||
spkr.pit_half=spkr.pit_max/2;
|
||||
spkr.pit_new_max=spkr.pit_max;
|
||||
spkr.pit_new_half=spkr.pit_half;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue