diff options
author | Eugene Sandulenko | 2019-09-03 21:07:51 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 21:08:13 +0200 |
commit | a7e30d0e7f62aad9aceadd674f1b51146f20958d (patch) | |
tree | f9d34dbf466428dd456c19b4371a85695c1410d7 /engines/hdb/saveload.cpp | |
parent | 8ec8b5fc7d60df0f57883dd819d3db0f6626d8d2 (diff) | |
download | scummvm-rg350-a7e30d0e7f62aad9aceadd674f1b51146f20958d.tar.gz scummvm-rg350-a7e30d0e7f62aad9aceadd674f1b51146f20958d.tar.bz2 scummvm-rg350-a7e30d0e7f62aad9aceadd674f1b51146f20958d.zip |
HDB: Fix compilation on Amiga
Diffstat (limited to 'engines/hdb/saveload.cpp')
-rw-r--r-- | engines/hdb/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/saveload.cpp b/engines/hdb/saveload.cpp index acf1092577..64cd3e7b2e 100644 --- a/engines/hdb/saveload.cpp +++ b/engines/hdb/saveload.cpp @@ -65,7 +65,7 @@ Common::Error HDBGame::saveGameState(int slot, const Common::String &desc) { Graphics::saveThumbnail(*out); - memset(&_saveHeader, 0, sizeof(Save)); + _saveHeader.fileSlot = 0; strcpy(_saveHeader.saveID, saveFileName.c_str()); _saveHeader.seconds = _timeSeconds + (_timePlayed / 1000); strcpy(_saveHeader.mapName, _inMapName); |