mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
Namco 163: dang
This commit is contained in:
parent
01c33260bc
commit
b42614189f
2 changed files with 4 additions and 4 deletions
|
@ -343,7 +343,7 @@ int DivPlatformN163::dispatch(DivCommand c) {
|
||||||
chan[c.chan].waveMode=ins->n163.waveMode;
|
chan[c.chan].waveMode=ins->n163.waveMode;
|
||||||
chan[c.chan].curWavePos=chan[c.chan].wavePos;
|
chan[c.chan].curWavePos=chan[c.chan].wavePos;
|
||||||
chan[c.chan].curWaveLen=chan[c.chan].waveLen;
|
chan[c.chan].curWaveLen=chan[c.chan].waveLen;
|
||||||
chan[c.chan].ws.init(NULL,chan[c.chan].waveLen,15,false);
|
chan[c.chan].ws.init(NULL,chan[c.chan].waveLen,15,true);
|
||||||
chan[c.chan].ws.changeWave1(chan[c.chan].wave);
|
chan[c.chan].ws.changeWave1(chan[c.chan].wave);
|
||||||
chan[c.chan].waveChanged=true;
|
chan[c.chan].waveChanged=true;
|
||||||
if (chan[c.chan].waveMode&0x3 || ins->ws.enabled) {
|
if (chan[c.chan].waveMode&0x3 || ins->ws.enabled) {
|
||||||
|
|
|
@ -5442,10 +5442,10 @@ void FurnaceGUI::drawInsEdit() {
|
||||||
dutyLabel="Duty";
|
dutyLabel="Duty";
|
||||||
dutyMax=63;
|
dutyMax=63;
|
||||||
}
|
}
|
||||||
/*if (ins->type==DIV_INS_N163) {
|
if (ins->type==DIV_INS_N163) {
|
||||||
dutyLabel="Waveform pos.";
|
dutyLabel="Wave Pos";
|
||||||
dutyMax=255;
|
dutyMax=255;
|
||||||
}*/
|
}
|
||||||
if (ins->type==DIV_INS_VRC6) {
|
if (ins->type==DIV_INS_VRC6) {
|
||||||
dutyLabel="Duty";
|
dutyLabel="Duty";
|
||||||
dutyMax=ins->amiga.useSample?0:7;
|
dutyMax=ins->amiga.useSample?0:7;
|
||||||
|
|
Loading…
Reference in a new issue