diff options
author | Paul Gilbert | 2012-01-10 20:41:06 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:19:34 +0200 |
commit | fd490f3aebabc99a225bcd25b67770abe6caf032 (patch) | |
tree | 4e35081486d629cde967a76c76dcba444591e0c4 /engines/mortevielle | |
parent | cd1c72cd9b831013a7c35163259b3ee8db9d6d84 (diff) | |
download | scummvm-rg350-fd490f3aebabc99a225bcd25b67770abe6caf032.tar.gz scummvm-rg350-fd490f3aebabc99a225bcd25b67770abe6caf032.tar.bz2 scummvm-rg350-fd490f3aebabc99a225bcd25b67770abe6caf032.zip |
MORTEVIELLE: Fixed loading in chardes() method
Diffstat (limited to 'engines/mortevielle')
-rw-r--r-- | engines/mortevielle/taffich.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mortevielle/taffich.cpp b/engines/mortevielle/taffich.cpp index 619cf7a89a..8e8e3de6b6 100644 --- a/engines/mortevielle/taffich.cpp +++ b/engines/mortevielle/taffich.cpp @@ -56,14 +56,15 @@ void chardes(Common::String nom, float passe, int long_) { l = long_ + p; i = 0; while (l > 0) { - f.read(&mem[0x6000 * 16 + i], 1); + f.read(&mem[0x6000 * 16 + i], 128); testfi(); l = l - 128; i = i + 128; } f.close(); - for (i = p; i <= long_ + p; i ++) mem[0x7000 * 16 + i - p] = mem[0x6000 * 16 + i]; + for (i = p; i <= long_ + p; i ++) + mem[0x7000 * 16 + i - p] = mem[0x6000 * 16 + i]; /*$i+*/ } |