mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-29 23:35:04 +08:00
Fix #84
This commit is contained in:
parent
8d79035675
commit
b6757e81a2
@ -29,7 +29,7 @@ export async function Decrypt(file, raw_filename, raw_ext) {
|
||||
}
|
||||
|
||||
let key = oriData[0xf]
|
||||
let dataOffset = oriData[0xc] | oriData[0xd] << 8
|
||||
let dataOffset = oriData[0xc] | oriData[0xd] << 8 | oriData[0xe] << 16
|
||||
let audioData = oriData.slice(0x10);
|
||||
let lenAudioData = audioData.length;
|
||||
for (let cur = dataOffset; cur < lenAudioData; ++cur)
|
||||
|
Loading…
Reference in New Issue
Block a user