Fixed vgmstream fading to return the correct block length on the start of the fade
parent
d1095c3f72
commit
63d255db7d
|
@ -177,10 +177,10 @@ err1:
|
|||
fadeScale -= fadeStep;
|
||||
if (fadeScale <= 0) break;
|
||||
}
|
||||
frames = (UInt32)(fadePos - fadeStart);
|
||||
frames = (UInt32)(fadePos - framesRead);
|
||||
}
|
||||
|
||||
framesRead += frames;
|
||||
framesRead += frames;
|
||||
|
||||
return frames;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue