1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.

This commit is contained in:
2006-04-18 18:48:50 +00:00
parent 24ef4ce560
commit ae7ec5cd0d
12 changed files with 20 additions and 12 deletions

View File

@@ -1021,7 +1021,7 @@ typedef struct ThreadedSave {
} ThreadedSave;
/* A maximum size of of 128K * 500 = 64.000KB savegames */
static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, 0, 0, NULL};
static MemoryPool _save_pool = {"Savegame", SAVE_POOL_MAX_BLOCKS, SAVE_POOL_BLOCK_SIZE_BITS, sizeof(byte), NULL, NULL, 0, 0, NULL};
static ThreadedSave _ts;
static bool InitMem(void)