saveload.c
changeset 3585 18a23b37e99a
parent 3584 005b6170f15c
child 3625 5112d9999b6a
equal deleted inserted replaced
3584:005b6170f15c 3585:18a23b37e99a
  1019 	bool saveinprogress;
  1019 	bool saveinprogress;
  1020 	CursorID cursor;
  1020 	CursorID cursor;
  1021 } ThreadedSave;
  1021 } ThreadedSave;
  1022 
  1022 
  1023 /* A maximum size of of 128K * 500 = 64.000KB savegames */
  1023 /* A maximum size of of 128K * 500 = 64.000KB savegames */
  1024 static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, 0, 0, NULL};
  1024 static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, NULL, 0, 0, NULL};
  1025 static ThreadedSave _ts;
  1025 static ThreadedSave _ts;
  1026 
  1026 
  1027 static bool InitMem(void)
  1027 static bool InitMem(void)
  1028 {
  1028 {
  1029 	_ts.save = &_save_pool;
  1029 	_ts.save = &_save_pool;