even more fixes
This commit is contained in:
parent
226f43fea3
commit
e158591ccb
4 changed files with 8 additions and 10 deletions
|
|
@ -92,7 +92,7 @@ void DivPlatformTIA::tick(bool sysTick) {
|
|||
if (!chan[i].inPorta) {
|
||||
if (chan[i].std.arp.val<0 && (!(chan[i].std.arp.val&0x40000000))) {
|
||||
chan[i].baseFreq=0x80000000|(chan[i].std.arp.val|0x40000000);
|
||||
} else if (chan[i].std.arp.val&0x40000000) {
|
||||
} else if (chan[i].std.arp.val>=0 && chan[i].std.arp.val&0x40000000) {
|
||||
chan[i].baseFreq=0x80000000|(chan[i].std.arp.val&(~0x40000000));
|
||||
} else {
|
||||
chan[i].baseFreq=(chan[i].note+chan[i].std.arp.val)<<8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue