aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorDavid Fioramonti2018-07-31 04:50:53 -0700
committerEugene Sandulenko2018-08-03 14:51:12 +0200
commit2649c429dbf30e1035fbc2d59a70e390b30327b2 (patch)
tree0b37e5f059fe7bf1e9121bc145c02c8d2d6a48ba /engines/lab
parentbafe22c782909b6f92cc42cfbf82a65d1167dc29 (diff)
downloadscummvm-rg350-2649c429dbf30e1035fbc2d59a70e390b30327b2.tar.gz
scummvm-rg350-2649c429dbf30e1035fbc2d59a70e390b30327b2.tar.bz2
scummvm-rg350-2649c429dbf30e1035fbc2d59a70e390b30327b2.zip
LAB: By default skip thumbnail loading for readSaveGameHeader
This changes the convention back to skipping the thumbnail loading for readSaveGameHeader. querySaveMetaInfos is the only place it shouldn't be skipped.
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/detection.cpp2
-rw-r--r--engines/lab/lab.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/detection.cpp b/engines/lab/detection.cpp
index bf6d4563b5..9ce8519ec7 100644
--- a/engines/lab/detection.cpp
+++ b/engines/lab/detection.cpp
@@ -208,7 +208,7 @@ SaveStateDescriptor LabMetaEngine::querySaveMetaInfos(const char *target, int sl
if (in) {
Lab::SaveGameHeader header;
- bool successfulRead = Lab::readSaveGameHeader(in, header);
+ bool successfulRead = Lab::readSaveGameHeader(in, header, false);
delete in;
if (successfulRead) {
diff --git a/engines/lab/lab.h b/engines/lab/lab.h
index 3eba78b42e..aedf0181ec 100644
--- a/engines/lab/lab.h
+++ b/engines/lab/lab.h
@@ -502,7 +502,7 @@ private:
void handleTrialWarning();
};
-WARN_UNUSED_RESULT bool readSaveGameHeader(Common::InSaveFile *in, SaveGameHeader &header, bool skipThumbnail = false);
+WARN_UNUSED_RESULT bool readSaveGameHeader(Common::InSaveFile *in, SaveGameHeader &header, bool skipThumbnail = true);
} // End of namespace Lab