Skip to content

Commit 75ddcea

Browse files
committed
give up save compression size for more speed
If I finish saving, close my game, run the loading one and the file is still compressing, something is wrong...
1 parent d451f70 commit 75ddcea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rts/System/LoadSave/CregLoadSaveHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void CCregLoadSaveHandler::SaveGame(const std::string& path)
232232
}
233233

234234
{
235-
gzFile file = gzopen(dataDirsAccess.LocateFile(path, FileQueryFlags::WRITE).c_str(), "wb9");
235+
gzFile file = gzopen(dataDirsAccess.LocateFile(path, FileQueryFlags::WRITE).c_str(), "wb5");
236236

237237
if (file == nullptr) {
238238
LOG_L(L_ERROR, "[LSH::%s] could not open save-file", __func__);

0 commit comments

Comments
 (0)