Restrict the loop point feature to version 105 or above
Avoid incompatibility with Castlevania HD pack
This commit is contained in:
parent
4135965d8e
commit
5b52546cac
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ void HdPackLoader::ProcessBgmTag(vector<string> &tokens)
|
|||
} else {
|
||||
_data->BgmFilesById[trackId] = FolderUtilities::CombinePath(_hdPackFolder, tokens[2]);
|
||||
}
|
||||
if (tokens.size() >= 4) {
|
||||
if (tokens.size() >= 4 && _data->Version >= 105) {
|
||||
stringstream pt(tokens[3]);
|
||||
uint32_t loopPoint;
|
||||
pt >> loopPoint;
|
||||
|
|
Loading…
Add table
Reference in a new issue