Merge branch 'master' into multicore

This commit is contained in:
Eknous-P 2023-08-18 08:59:06 +04:00
commit 12d7911d1a
6 changed files with 13 additions and 8 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.sfd text

1
.gitignore vendored
View File

@ -27,3 +27,4 @@ extern/imgui_patched/examples/
src/asm/68k/amigatest/*.bin
src/asm/68k/amigatest/player
res/binary_to_compressed_c
res/binary_to_compressed_c.exe

BIN
demos/opl/DASH.fur Normal file

Binary file not shown.

View File

@ -458,7 +458,7 @@ int DivPlatformGB::dispatch(DivCommand c) {
}
chan[c.chan].envVol=chan[c.chan].outVol;
if (!chan[c.chan].keyOn) chan[c.chan].killIt=true;
if (!chan[c.chan].keyOn && chan[c.chan].active) chan[c.chan].killIt=true;
chan[c.chan].freqChanged=true;
}
break;

View File

@ -443,13 +443,15 @@ void DivPlatformGenesisExt::muteChannel(int ch, bool mute) {
DivPlatformGenesis::muteChannel(extChanOffs,IS_EXTCH_MUTED);
if (extMode) {
int ordch=orderedOps[ch-2];
unsigned short baseAddr=chanOffs[2]|opOffs[ordch];
DivInstrumentFM::Operator op=chan[2].state.op[ordch];
if (isOpMuted[ch-2] || !op.enable) {
rWrite(baseAddr+0x40,127);
} else {
rWrite(baseAddr+0x40,127-VOL_SCALE_LOG_BROKEN(127-op.tl,opChan[ch-2].outVol&0x7f,127));
for (int i=0; i<4; i++) {
int ordch=orderedOps[i];
unsigned short baseAddr=chanOffs[2]|opOffs[ordch];
DivInstrumentFM::Operator op=chan[2].state.op[ordch];
if (isOpMuted[i] || !op.enable) {
rWrite(baseAddr+0x40,127);
} else {
rWrite(baseAddr+0x40,127-VOL_SCALE_LOG_BROKEN(127-op.tl,opChan[i].outVol&0x7f,127));
}
}
rWrite(chanOffs[2]+0xb4,(IS_EXTCH_MUTED?0:(opChan[ch-2].pan<<6))|(chan[2].state.fms&7)|((chan[2].state.ams&3)<<4));

View File

@ -136,6 +136,7 @@ const char* aboutLine[]={
"UserSniper",
"Weeppiko",
"Xan",
"YaIiya",
"Yuzu4K",
"Zaxolotl",
"ZoomTen (Zumi)",