diff options
Diffstat (limited to 'engines/sword2/saveload.cpp')
-rw-r--r-- | engines/sword2/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/saveload.cpp b/engines/sword2/saveload.cpp index eb7b6e0b0c..3f37d6b5de 100644 --- a/engines/sword2/saveload.cpp +++ b/engines/sword2/saveload.cpp @@ -132,7 +132,7 @@ uint32 Sword2Engine::saveData(uint16 slotNo, byte *buffer, uint32 bufferSize) { } out->write(buffer, bufferSize); - out->flush(); + out->finalize(); if (!out->ioFailed()) { delete out; |