Namco 163: dang

This commit is contained in:
tildearrow 2023-07-19 01:43:41 -05:00
parent 01c33260bc
commit b42614189f
2 changed files with 4 additions and 4 deletions

View file

@ -343,7 +343,7 @@ int DivPlatformN163::dispatch(DivCommand c) {
chan[c.chan].waveMode=ins->n163.waveMode;
chan[c.chan].curWavePos=chan[c.chan].wavePos;
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].waveChanged=true;
if (chan[c.chan].waveMode&0x3 || ins->ws.enabled) {

View file

@ -5442,10 +5442,10 @@ void FurnaceGUI::drawInsEdit() {
dutyLabel="Duty";
dutyMax=63;
}
/*if (ins->type==DIV_INS_N163) {
dutyLabel="Waveform pos.";
if (ins->type==DIV_INS_N163) {
dutyLabel="Wave Pos";
dutyMax=255;
}*/
}
if (ins->type==DIV_INS_VRC6) {
dutyLabel="Duty";
dutyMax=ins->amiga.useSample?0:7;