aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/save_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/save_manager.cpp b/engines/zvision/save_manager.cpp
index 9611b9c9b7..595a0525c7 100644
--- a/engines/zvision/save_manager.cpp
+++ b/engines/zvision/save_manager.cpp
@@ -147,7 +147,7 @@ Common::Error SaveManager::loadGame(uint slot) {
}
bool SaveManager::readSaveGameHeader(Common::InSaveFile *in, SaveGameHeader &header) {
- if (in->readSint32BE() != SAVEGAME_ID) {
+ if (in->readUint32BE() != SAVEGAME_ID) {
warning("File is not a ZVision save file. Aborting load");
return false;
}