aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mortevielle/taffich.cpp5
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+*/
}