mirror of https://github.com/stella-emu/stella.git
3 voice music correction
Christian discovered a bug in the updateMusicModeDataFetchers() function used by BUS, CDF, and DPC+.
This commit is contained in:
parent
bd74b7de38
commit
742eb36654
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue