diff options
| author | Max Horn | 2010-11-07 17:16:59 +0000 |
|---|---|---|
| committer | Max Horn | 2010-11-07 17:16:59 +0000 |
| commit | 4d3a07b4943fa173b8db93d54d89baa24b35e0c5 (patch) | |
| tree | 124287f718ce17d9c6dcafb9331eab7d8d9b405d /engines/kyra | |
| parent | 036e88d382f653fd8590bb2edec2e45072f9d0be (diff) | |
| download | scummvm-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.cpp | 2 |
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) |
