]> git.sesse.net Git - s573compress/commitdiff
Fix bpm order in create_mdb.py.
authorSteinar H. Gunderson <steinar+ddr@gunderson.no>
Sun, 15 Dec 2019 11:14:59 +0000 (12:14 +0100)
committerSteinar H. Gunderson <steinar+ddr@gunderson.no>
Sun, 15 Dec 2019 11:14:59 +0000 (12:14 +0100)
create_mdb.py

index cbc8aca71fbe4ed4d366e081f17a6a36a76b4f64..53a544918a83187aa41392a3015bcd8f38af0e0f 100755 (executable)
@@ -66,8 +66,8 @@ with open(sys.argv[2], 'wb') as tabfile:
                e += struct.pack('<H', entry['song_number'])
                e += struct.pack('<I', entry['unknown1'])
                e += struct.pack('<H', 0)   # Always zero.
-               e += struct.pack('<H', entry['bpm_min'])
                e += struct.pack('<H', entry['bpm_max'])
+               e += struct.pack('<H', entry['bpm_min'])
                e += struct.pack('<H', entry['unknown2'])
                e += struct.pack('<H', entry['song_idx_2'])
                e += struct.pack('<H', entry['unlock_info'])