1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-12 12:38:02 +00:00
OpenMW/apps/openmw/mwstate
scrawl 66bcd2fd68 Write save games to a memory stream first
Two motivations for doing this:

- If the user chooses to overwrite existing save file, and there is an exception during the save process, the existing file will not be lost.
- Many small writes to a file are slow. Very slow. Writing to memory first then writing the completed file to disk appears to be ~500% faster.
2015-12-05 01:15:54 +01:00
..
character.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
character.hpp Add commandline option to load a save game on startup 2015-01-07 03:27:24 +01:00
charactermanager.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
charactermanager.hpp
statemanagerimp.cpp Write save games to a memory stream first 2015-12-05 01:15:54 +01:00
statemanagerimp.hpp Write savegame screenshot 2015-06-03 16:40:16 +02:00