aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/savegame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/game/savegame.cpp')
-rw-r--r--engines/lastexpress/game/savegame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lastexpress/game/savegame.cpp b/engines/lastexpress/game/savegame.cpp
index f5b512f5ee..2d88c2dca4 100644
--- a/engines/lastexpress/game/savegame.cpp
+++ b/engines/lastexpress/game/savegame.cpp
@@ -156,6 +156,8 @@ void SaveLoad::loadStream(GameId id) {
// Load all savegame data
uint8* buf = new uint8[8192];
while (!save->eos() && !save->err()) {
+ _engine->pollEvents();
+
uint32 count = save->read(buf, sizeof(buf));
if (count) {
uint32 w = _savegame->write(buf, count);