From 35bebad0f846b852a2fd8a271da0eb7d6c9561b4 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Wed, 7 Sep 2022 12:26:03 +0200 Subject: [PATCH] fixed cut off Kid Vid songs --- src/emucore/KidVid.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/KidVid.cxx b/src/emucore/KidVid.cxx index 8bc44f28a..ec145a3a5 100644 --- a/src/emucore/KidVid.cxx +++ b/src/emucore/KidVid.cxx @@ -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();