diff options
| author | inspectredc <inspectredc@gmail.com> | 2024-04-04 22:51:06 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-04 16:00:59 -0600 |
| commit | 2303fd6aef36adc45c1634ef2732a05d98a9c653 (patch) | |
| tree | 61bca8aa320e3c6854a3b3bb1bf8445285c83d2b | |
| parent | 53eec1f33a761a2dac032c94bfd9856c00014747 (diff) | |
increase mpq file size
| -rw-r--r-- | src/storm/SWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storm/SWrapper.cpp b/src/storm/SWrapper.cpp index 8ab1b68..4fa585d 100644 --- a/src/storm/SWrapper.cpp +++ b/src/storm/SWrapper.cpp @@ -13,7 +13,7 @@ SWrapper::SWrapper(const std::string& path) { fs::remove(path); } - if(!SFileCreateArchive(path.c_str(), MPQ_CREATE_LISTFILE | MPQ_CREATE_ATTRIBUTES | MPQ_CREATE_ARCHIVE_V2, 4096, &this->hMpq)){ + if(!SFileCreateArchive(path.c_str(), MPQ_CREATE_LISTFILE | MPQ_CREATE_ATTRIBUTES | MPQ_CREATE_ARCHIVE_V2, 8 * 1024, &this->hMpq)){ SPDLOG_ERROR("Failed to create archive {} with error code {}", path, GetLastError()); return; } |
