LASTEXPRESS: Fix read size parameter.

This commit is contained in:
Johannes Schickel 2011-11-03 02:27:26 +01:00
parent 3ad89a0d18
commit 31e5b96fae

View File

@ -158,7 +158,7 @@ void SaveLoad::loadStream(GameId id) {
while (!save->eos() && !save->err()) {
_engine->pollEvents();
uint32 count = save->read(buf, sizeof(*buf));
uint32 count = save->read(buf, 8192);
if (count) {
uint32 w = _savegame->write(buf, count);
assert (w == count);