mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
Virtual Boy: phase reset macro
This commit is contained in:
parent
b4b7ab86fb
commit
2cead0b7f9
2 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,7 @@ void DivPlatformVB::tick(bool sysTick) {
|
|||
chan[i].freqChanged=true;
|
||||
}
|
||||
if (chan[i].std.phaseReset.had && chan[i].std.phaseReset.val==1) {
|
||||
// ???
|
||||
chWrite(i,0x00,0x80);
|
||||
}
|
||||
if (chan[i].active) {
|
||||
if (chan[i].ws.tick() || (chan[i].std.phaseReset.had && chan[i].std.phaseReset.val==1)) {
|
||||
|
|
|
@ -4982,6 +4982,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ins->type==DIV_INS_MIKEY ||
|
||||
ins->type==DIV_INS_ES5506 ||
|
||||
ins->type==DIV_INS_T6W28 ||
|
||||
ins->type==DIV_INS_VBOY ||
|
||||
(ins->type==DIV_INS_X1_010 && ins->amiga.useSample)) {
|
||||
macroList.push_back(FurnaceGUIMacroDesc("Phase Reset",&ins->std.phaseResetMacro,0,1,32,uiColors[GUI_COLOR_MACRO_OTHER],false,NULL,NULL,true));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue