more changes

This commit is contained in:
tildearrow 2024-03-16 11:14:45 -05:00
parent 0c733ad63a
commit fd2fd98214
2 changed files with 5 additions and 5 deletions

View file

@ -111,7 +111,7 @@ const int ftEffectMap[]={
0x21, // 050B Sunsoft noise period 0x21, // 050B Sunsoft noise period
-1, // VRC7 "custom patch port" - not supported? -1, // VRC7 "custom patch port" - not supported?
-1, // VRC7 "custom patch write" -1, // VRC7 "custom patch write"
0xe7, // delayed release - not supported yet 0xfc, // delayed release
0x09, // select groove 0x09, // select groove
0xe6, // delayed note transpose 0xe6, // delayed note transpose
0x11, // Namco 163 wave RAM offset 0x11, // Namco 163 wave RAM offset
@ -225,7 +225,7 @@ const int eftEffectMap[] = {
0x100, // // // AY8930 extra volume bit 0x100, // // // AY8930 extra volume bit
-1, // VRC7 "custom patch port" - not supported? -1, // VRC7 "custom patch port" - not supported?
-1, // VRC7 "custom patch write" -1, // VRC7 "custom patch write"
0xe7, // delayed release - not supported yet 0xfc, // delayed release
0x09, // select groove 0x09, // select groove
0xe6, // delayed note transpose 0xe6, // delayed note transpose
0x11, // Namco 163 wave RAM offset 0x11, // Namco 163 wave RAM offset
@ -1579,11 +1579,11 @@ bool DivEngine::loadFTM(unsigned char* file, size_t len, bool dnft, bool dnft_si
pat->data[row][3] = nextVol; pat->data[row][3] = nextVol;
if (map_channels[ch] == vrc6_saw_chan) // scale volume if (map_channels[ch] == vrc6_saw_chan) // scale volume
{ {
pat->data[row][3] = pat->data[row][3] * 42 / 15; pat->data[row][3] = (pat->data[row][3] * 42) / 15;
} }
if (map_channels[ch] == fds_chan) { if (map_channels[ch] == fds_chan) {
pat->data[row][3] = pat->data[row][3] * 31 / 15; pat->data[row][3] = (pat->data[row][3] * 31) / 15;
} }
} else { } else {
pat->data[row][3] = -1; pat->data[row][3] = -1;

View file

@ -1061,7 +1061,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
break; break;
case 0xfc: // delayed note release case 0xfc: // delayed note release
if (effectVal>0 && (song.delayBehavior==2 || effectVal<nextSpeed)) { if (song.delayBehavior==2 || effectVal<nextSpeed) {
chan[i].cut=effectVal+1; chan[i].cut=effectVal+1;
chan[i].cutType=1; chan[i].cutType=1;
} }