summaryrefslogtreecommitdiff
path: root/src/storm/SWrapper.cpp
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-04-06 12:28:51 -0600
committerLywx <kiritodev01@gmail.com>2024-04-08 18:09:34 -0600
commit6d5f37db337ac10be180527d98d1676c2be3344d (patch)
tree48571e27aff74261a921c6e9eee8c99592b485b4 /src/storm/SWrapper.cpp
parent3918fde51a84f5035d6f74740195f0d91dd5c604 (diff)
Fixed DisplayList Binary extraction and some other factories
Diffstat (limited to 'src/storm/SWrapper.cpp')
-rw-r--r--src/storm/SWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storm/SWrapper.cpp b/src/storm/SWrapper.cpp
index 788c273..7abf1be 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, 8 * 1024, &this->hMpq)){
+ if(!SFileCreateArchive(path.c_str(), MPQ_CREATE_LISTFILE | MPQ_CREATE_ATTRIBUTES | MPQ_CREATE_ARCHIVE_V2, 16 * 1024, &this->hMpq)){
SPDLOG_ERROR("Failed to create archive {} with error code {}", path, GetLastError());
return;
}