1
0
mirror of synced 2025-01-24 07:04:09 +01:00

parsers.py: Remove unnecessary seek

This commit is contained in:
Viv 2023-07-19 17:49:09 -04:00
parent 077d07d023
commit 45a1774221

View File

@ -268,8 +268,6 @@ def readFumen(fumenFile, exclude_empty_measures=False):
header=FumenHeader(raw_bytes=file.read(520)) header=FumenHeader(raw_bytes=file.read(520))
) )
# Start reading measure data from position 0x208 (decimal 520)
file.seek(0x208)
for measureNumber in range(song.header.b512_b515_number_of_measures): for measureNumber in range(song.header.b512_b515_number_of_measures):
# Parse the measure data using the following `format_string`: # Parse the measure data using the following `format_string`:
# "ffBBHiiiiiii" (12 format characters, 40 bytes per measure) # "ffBBHiiiiiii" (12 format characters, 40 bytes per measure)