equal
deleted
inserted
replaced
1550 { |
1550 { |
1551 uint i; |
1551 uint i; |
1552 uint count = 1 << Savegame_POOL_BLOCK_SIZE_BITS; |
1552 uint count = 1 << Savegame_POOL_BLOCK_SIZE_BITS; |
1553 |
1553 |
1554 assert(_ts.count == _sl.offs_base); |
1554 assert(_ts.count == _sl.offs_base); |
1555 for (i = 0; i != _Savegame_pool.current_blocks - 1; i++) { |
1555 for (i = 0; i != _Savegame_pool.GetBlockCount() - 1; i++) { |
1556 _sl.buf = _Savegame_pool.blocks[i]; |
1556 _sl.buf = _Savegame_pool.blocks[i]; |
1557 fmt->writer(count); |
1557 fmt->writer(count); |
1558 } |
1558 } |
1559 |
1559 |
1560 /* The last block is (almost) always not fully filled, so only write away |
1560 /* The last block is (almost) always not fully filled, so only write away |