aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorMax Horn2010-11-07 17:16:59 +0000
committerMax Horn2010-11-07 17:16:59 +0000
commit4d3a07b4943fa173b8db93d54d89baa24b35e0c5 (patch)
tree124287f718ce17d9c6dcafb9331eab7d8d9b405d /engines/kyra
parent036e88d382f653fd8590bb2edec2e45072f9d0be (diff)
downloadscummvm-rg350-4d3a07b4943fa173b8db93d54d89baa24b35e0c5.tar.gz
scummvm-rg350-4d3a07b4943fa173b8db93d54d89baa24b35e0c5.tar.bz2
scummvm-rg350-4d3a07b4943fa173b8db93d54d89baa24b35e0c5.zip
COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/staticres.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index cf270942bf..fe4bd2ad71 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -57,7 +57,7 @@ bool checkKyraDat(Common::SeekableReadStream *file) {
uint8 digestCalc[16];
file->seek(0, SEEK_SET);
- if (!Common::md5_file(*file, digestCalc, size))
+ if (!Common::computeStreamMD5(*file, digestCalc, size))
return false;
for (int i = 0; i < 16; ++i)