implement phase reset macro on supported systems
This commit is contained in:
parent
c76e719371
commit
c743a9e96a
16 changed files with 89 additions and 7 deletions
|
|
@ -215,6 +215,12 @@ void DivPlatformAY8910::tick() {
|
|||
rWrite(0x08+i,(chan[i].outVol&15)|((chan[i].psgMode&4)<<2));
|
||||
}
|
||||
}
|
||||
if (chan[i].std.phaseReset.had) {
|
||||
if (chan[i].std.phaseReset.val==1) {
|
||||
oldWrites[0x08+i]=-1;
|
||||
oldWrites[0x0d]=-1;
|
||||
}
|
||||
}
|
||||
if (chan[i].std.ex2.had) {
|
||||
ayEnvMode=chan[i].std.ex2.val;
|
||||
rWrite(0x0d,ayEnvMode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue