More tweaks from the Rubocop overlord

This commit is contained in:
Maruno17
2021-12-19 17:28:59 +00:00
parent 33781493f4
commit 65b1a8d6c3
161 changed files with 2839 additions and 2967 deletions

View File

@@ -128,7 +128,7 @@ def getPlayTime2(filename)
data = fgetdw.call(file)
return -1 if data != 0x61746164 # "data"
datasize = fgetdw.call(file)
time = (datasize * 1.0) / bytessec
time = datasize.to_f / bytessec
return time
when 0x5367674F # "OggS"
file.pos = 0