From b42614189f9bf0f549b69e7ce5e2441779dd5a89 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 19 Jul 2023 01:43:41 -0500 Subject: [PATCH] Namco 163: dang --- src/engine/platform/n163.cpp | 2 +- src/gui/insEdit.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/platform/n163.cpp b/src/engine/platform/n163.cpp index da8b77827..e6952ab50 100644 --- a/src/engine/platform/n163.cpp +++ b/src/engine/platform/n163.cpp @@ -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) { diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index 6715e56b6..583623fe7 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -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;