mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 04:55:13 +00:00
huh?
This commit is contained in:
parent
dd80cb8b55
commit
f6b34a5bb0
1 changed files with 4 additions and 5 deletions
|
@ -144,19 +144,18 @@ int DivPlatformGenesisExt::dispatch(DivCommand c) {
|
|||
}
|
||||
}
|
||||
// what the heck!
|
||||
// TODO: rework!
|
||||
if (!opChan[ch].portaPause) {
|
||||
opChan[ch].freqChanged=true;
|
||||
if ((newFreq&0x7ff)>1288) {
|
||||
newFreq=(644)|((newFreq+0x800)&0xf800);
|
||||
opChan[ch].portaPause=true;
|
||||
opChan[ch].freqChanged=false;
|
||||
return2=false;
|
||||
}
|
||||
if ((newFreq&0x7ff)<644) {
|
||||
} else if ((newFreq&0x7ff)<644) {
|
||||
newFreq=(1287)|((newFreq-0x800)&0xf800);
|
||||
opChan[ch].portaPause=true;
|
||||
opChan[ch].freqChanged=false;
|
||||
return2=false;
|
||||
} else {
|
||||
opChan[ch].freqChanged=true;
|
||||
}
|
||||
} else {
|
||||
opChan[ch].portaPause=false;
|
||||
|
|
Loading…
Reference in a new issue