3 voice music correction

Christian discovered a bug in the updateMusicModeDataFetchers() function used by BUS, CDF, and DPC+.
This commit is contained in:
Darrell Spice, Jr 2017-04-25 16:27:39 -05:00
parent bd74b7de38
commit 742eb36654
3 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ inline void CartridgeBUS::updateMusicModeDataFetchers()
// Let's update counters and flags of the music mode data fetchers
for(int x = 0; x <= 2; ++x)
{
myMusicCounters[x] += myMusicFrequencies[x];
myMusicCounters[x] += myMusicFrequencies[x] * wholeClocks;
}
}

View File

@ -159,7 +159,7 @@ inline void CartridgeCDF::updateMusicModeDataFetchers()
// Let's update counters and flags of the music mode data fetchers
for(int x = 0; x <= 2; ++x)
{
myMusicCounters[x] += myMusicFrequencies[x];
myMusicCounters[x] += myMusicFrequencies[x] * wholeClocks;
}
}

View File

@ -173,7 +173,7 @@ inline void CartridgeDPCPlus::updateMusicModeDataFetchers()
// Let's update counters and flags of the music mode data fetchers
for(int x = 0; x <= 2; ++x)
{
myMusicCounters[x] += myMusicFrequencies[x];
myMusicCounters[x] += myMusicFrequencies[x] * wholeClocks;
}
}