mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-29 03:36:40 +00:00
Merge branch 'bsatool' into 'master'
Fix creating archives in bsatool See merge request OpenMW/openmw!3484
This commit is contained in:
commit
fe5dbb7a25
1 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,10 @@ int main(int argc, char** argv)
|
|||
|
||||
// Open file
|
||||
|
||||
// TODO: add a version argument for this mode after compressed BSA writing is a thing
|
||||
if (info.mode == "create")
|
||||
return call<Bsa::BSAFile>(info);
|
||||
|
||||
Bsa::BsaVersion bsaVersion = Bsa::BSAFile::detectVersion(info.filename);
|
||||
|
||||
switch (bsaVersion)
|
||||
|
|
Loading…
Reference in a new issue