Another non-format warning fixed
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4074
This commit is contained in:
parent
5cb34a071d
commit
6283b6b5b8
1 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@ static void TandyDACWrite(Bitu port,Bitu data,Bitu /*iolen*/) {
|
|||
}
|
||||
break;
|
||||
case 0xc6:
|
||||
tandy.dac.frequency = tandy.dac.frequency & 0xf00 | (Bit8u)(data&0xff);
|
||||
tandy.dac.frequency = (tandy.dac.frequency & 0xf00) | (Bit8u)(data & 0xff);
|
||||
switch (tandy.dac.mode&3) {
|
||||
case 0:
|
||||
// joystick mode
|
||||
|
@ -418,7 +418,7 @@ static void TandyDACWrite(Bitu port,Bitu data,Bitu /*iolen*/) {
|
|||
}
|
||||
break;
|
||||
case 0xc7:
|
||||
tandy.dac.frequency = tandy.dac.frequency & 0x00ff | (((Bit8u)(data&0xf))<<8);
|
||||
tandy.dac.frequency = (tandy.dac.frequency & 0x00ff) | (((Bit8u)(data & 0xf)) << 8);
|
||||
tandy.dac.amplitude = (Bit8u)(data>>5);
|
||||
switch (tandy.dac.mode&3) {
|
||||
case 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue