parent
30b553e87e
commit
c4163699b6
|
@ -215,6 +215,14 @@ void DivPlatformArcade::tick() {
|
|||
}
|
||||
}
|
||||
|
||||
if (chan[i].std.hadDuty) {
|
||||
if (chan[i].std.duty>0) {
|
||||
rWrite(0x0f,0x80|(0x20-chan[i].std.duty));
|
||||
} else {
|
||||
rWrite(0x0f,0);
|
||||
}
|
||||
}
|
||||
|
||||
if (chan[i].std.hadAlg) {
|
||||
chan[i].state.alg=chan[i].std.alg;
|
||||
if (isMuted[i]) {
|
||||
|
|
|
@ -1363,13 +1363,16 @@ void FurnaceGUI::drawInsEdit() {
|
|||
dutyMax=24;
|
||||
}
|
||||
}
|
||||
if (ins->type==DIV_INS_AY || ins->type==DIV_INS_AY8930) {
|
||||
if (ins->type==DIV_INS_FM) {
|
||||
dutyMax=32;
|
||||
}
|
||||
if (ins->type==DIV_INS_AY || ins->type==DIV_INS_AY8930 || ins->type==DIV_INS_FM) {
|
||||
dutyLabel="Noise Freq";
|
||||
}
|
||||
if (ins->type==DIV_INS_AY8930) {
|
||||
dutyMax=255;
|
||||
}
|
||||
if (ins->type==DIV_INS_TIA || ins->type==DIV_INS_PCE || ins->type==DIV_INS_FM) {
|
||||
if (ins->type==DIV_INS_TIA || ins->type==DIV_INS_PCE) {
|
||||
dutyMax=0;
|
||||
}
|
||||
bool dutyIsRel=(ins->type==DIV_INS_C64 && !ins->c64.dutyIsAbs);
|
||||
|
|
Loading…
Reference in New Issue