mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
LFO LFO LFO LFO LFO LFO LFO LFO LFO LFO LFO LFO
This commit is contained in:
parent
859ac5e373
commit
67ec998196
2 changed files with 7 additions and 1 deletions
|
@ -519,7 +519,7 @@ int DivPlatformPCE::init(DivEngine* p, int channels, int sugRate, unsigned int f
|
||||||
isMuted[i]=false;
|
isMuted[i]=false;
|
||||||
}
|
}
|
||||||
setFlags(flags);
|
setFlags(flags);
|
||||||
pce=new PCE_PSG(tempL,tempR,PCE_PSG::REVISION_HUC6280);
|
pce=new PCE_PSG(tempL,tempR,PCE_PSG::REVISION_HUC6280A);
|
||||||
reset();
|
reset();
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,6 +157,12 @@ void PCE_PSG::RecalcUOFunc(int chnum)
|
||||||
|
|
||||||
//printf("UO Update: %d, %02x\n", chnum, ch->control);
|
//printf("UO Update: %d, %02x\n", chnum, ch->control);
|
||||||
|
|
||||||
|
// what is this?
|
||||||
|
if (lfoctrl&3 && chnum==1) {
|
||||||
|
ch->UpdateOutput = &PCE_PSG::UpdateOutput_Off;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if((revision != REVISION_HUC6280 && !(ch->control & 0xC0)) || (revision == REVISION_HUC6280 && !(ch->control & 0x80)))
|
if((revision != REVISION_HUC6280 && !(ch->control & 0xC0)) || (revision == REVISION_HUC6280 && !(ch->control & 0x80)))
|
||||||
ch->UpdateOutput = &PCE_PSG::UpdateOutput_Off;
|
ch->UpdateOutput = &PCE_PSG::UpdateOutput_Off;
|
||||||
else if(ch->noisectrl & ch->control & 0x80)
|
else if(ch->noisectrl & ch->control & 0x80)
|
||||||
|
|
Loading…
Reference in a new issue