diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/oldloader.cpp | 1 | ||||
-rw-r--r-- | src/saveload/saveload.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp index 609683559..43abe291f 100644 --- a/src/saveload/oldloader.cpp +++ b/src/saveload/oldloader.cpp @@ -209,6 +209,7 @@ static void InitLoading(LoadgameState *ls) /** * Verifies the title has a valid checksum * @param title title and checksum + * @param len the length of the title to read/checksum * @return true iff the title is valid * @note the title (incl. checksum) has to be at least 41/49 (HEADER_SIZE) bytes long! */ diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index 5ec0a734e..5dd4367ba 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -1780,6 +1780,7 @@ void WaitTillSaved() * handled. It opens the savegame, selects format and checks versions * @param filename The name of the savegame being created/loaded * @param mode Save or load. Load can also be a TTD(Patch) game. Use SL_LOAD, SL_OLD_LOAD or SL_SAVE + * @param sb The sub directory to save the savegame in * @param threaded True when threaded saving is allowed * @return Return the results of the action. SL_OK, SL_ERROR or SL_REINIT ("unload" the game) */ |