aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorColin Snover2017-11-11 20:01:58 -0600
committerColin Snover2017-11-11 20:18:17 -0600
commite6228f3ff67795858c791bb949e138f50b5866c0 (patch)
tree18dba4996163af118b61c85544ecb71b17106810 /engines/xeen
parent4a76e6fb3d2f3853e0c24932203159162d72f52a (diff)
downloadscummvm-rg350-e6228f3ff67795858c791bb949e138f50b5866c0.tar.gz
scummvm-rg350-e6228f3ff67795858c791bb949e138f50b5866c0.tar.bz2
scummvm-rg350-e6228f3ff67795858c791bb949e138f50b5866c0.zip
SCI32: Fix integer overflow calculating audio duration
Due to the need to calculate the audio duration with millisecond precision from the file size, it is possible to overflow a 32-bit integer in games with long background audio loops, like RAMA, during the calculation of the duration. It is also not necessary to give some framerate here, so eliminate the unnecessary explicit Timestamp construction with the second argument.
Diffstat (limited to 'engines/xeen')
0 files changed, 0 insertions, 0 deletions