Skip to content

Commit

Permalink
allow s6 audio to be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ex committed Aug 27, 2024
1 parent 9a8b7a6 commit 5cc11b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Legion/src/MilesLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,12 @@ void MilesLib::MountBank(const string& Path)
}
}
}
else if (BankHeader.Version >= 28 && BankHeader.Version <= 34) {
else if (BankHeader.Version >= 28 && BankHeader.Version <= 36) {
// S2 -> S5
//
// s3 - 32
// s5 - 34
// s6 - 36

ReaderStream->SetPosition(*(uint64_t*)(uintptr_t(&BankHeader) + 0x48));
const auto NameTableOffset = *(uint64_t*)(uintptr_t(&BankHeader) + 0x70);
Expand Down

0 comments on commit 5cc11b9

Please sign in to comment.