Merge pull request #122 from SpiceWare/master

3 voice music correction
This commit is contained in:
sa666666 2017-04-25 19:24:34 -02:30 committed by GitHub
commit dc5a0bdba1
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;
}
}