aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-23 00:58:05 +0200
committerEugene Sandulenko2019-09-03 17:17:26 +0200
commit04901e7ac9d38ef17191832b370ef25ea5557bef (patch)
treebf41ee9a0eebdc8688715197b0cdd0e7415da154 /engines
parentb776651e454c438a1d14942efcaf37d4a9f58b97 (diff)
downloadscummvm-rg350-04901e7ac9d38ef17191832b370ef25ea5557bef.tar.gz
scummvm-rg350-04901e7ac9d38ef17191832b370ef25ea5557bef.tar.bz2
scummvm-rg350-04901e7ac9d38ef17191832b370ef25ea5557bef.zip
HDB: Fix load menu items
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/detection.cpp2
-rw-r--r--engines/hdb/menu.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 245787f92f..a69a83cec6 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -188,7 +188,7 @@ SaveStateDescriptor HDBMetaEngine::querySaveMetaInfos(const char *target, int sl
}
desc.setThumbnail(thumbnail);
- uint32 timeSeconds = in->readUint32LE();;
+ uint32 timeSeconds = in->readUint32LE();
in->read(mapName, 32);
desc.setSaveSlot(slot);
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index 8c354fa409..fbaa389119 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -1020,6 +1020,8 @@ void Menu::fillSavegameSlots() {
if (!in) {
memset(&_saveGames[i], 0, sizeof(Save));
} else {
+ Graphics::skipThumbnail(*in);
+
strcpy(_saveGames[i].saveID, saveGameFile.c_str());
_saveGames[i].seconds = in->readUint32LE();
in->read(_saveGames[i].mapName, 32);