fixed cut off Kid Vid songs

This commit is contained in:
Thomas Jentzsch 2022-09-07 12:26:03 +02:00
parent 0739d521bf
commit 8aa67f8493

View File

@ -258,7 +258,7 @@ void KidVid::setNextSong()
myBeep = (ourSongPositions[mySongPointer] & 0x80) == 0;
const uInt8 temp = ourSongPositions[mySongPointer] & 0x7f;
mySongLength = ourSongStart[temp + 1] - ourSongStart[temp] - 262 * ClickFrames;
mySongLength = ourSongStart[temp + 1] - ourSongStart[temp];
// Play the WAV file
const string& fileName = (temp < 10) ? "KVSHARED.WAV" : getFileName();