mirror of https://github.com/stella-emu/stella.git
fixed cut off Kid Vid songs
This commit is contained in:
parent
40c77bba71
commit
35bebad0f8
|
@ -258,7 +258,7 @@ void KidVid::setNextSong()
|
||||||
myBeep = (ourSongPositions[mySongPointer] & 0x80) == 0;
|
myBeep = (ourSongPositions[mySongPointer] & 0x80) == 0;
|
||||||
|
|
||||||
const uInt8 temp = ourSongPositions[mySongPointer] & 0x7f;
|
const uInt8 temp = ourSongPositions[mySongPointer] & 0x7f;
|
||||||
mySongLength = ourSongStart[temp + 1] - ourSongStart[temp] - 262 * ClickFrames;
|
mySongLength = ourSongStart[temp + 1] - ourSongStart[temp];
|
||||||
|
|
||||||
// Play the WAV file
|
// Play the WAV file
|
||||||
const string& fileName = (temp < 10) ? "KVSHARED.WAV" : getFileName();
|
const string& fileName = (temp < 10) ? "KVSHARED.WAV" : getFileName();
|
||||||
|
|
Loading…
Reference in New Issue