aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mortevielle/disk.cpp2
-rw-r--r--engines/mortevielle/prog.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/engines/mortevielle/disk.cpp b/engines/mortevielle/disk.cpp
index e7c9801f4b..25bf7faca3 100644
--- a/engines/mortevielle/disk.cpp
+++ b/engines/mortevielle/disk.cpp
@@ -82,7 +82,7 @@ static void sync_save(Common::Serializer &sz) {
sz.syncAsByte(s1.ipre);
sz.syncAsByte(s1.heure);
- sz.syncBytes(bufcha, 390);
+ sz.syncBytes(bufcha, 391);
}
void takesav(int n) {
diff --git a/engines/mortevielle/prog.cpp b/engines/mortevielle/prog.cpp
index 41d72b5ee0..5f2fd3cb65 100644
--- a/engines/mortevielle/prog.cpp
+++ b/engines/mortevielle/prog.cpp
@@ -255,8 +255,10 @@ void tecran() {
change_gd((uint)pred(int, ord(inkey)) >> 1);
return;
}
- if (choisi && (msg[3] == sauve)) sv_game(msg[4] & 7);
- if (choisi && (msg[3] == charge)) ld_game(pred(int, msg[4] & 7));
+ if (choisi && (msg[3] == sauve))
+ sv_game(msg[4] & 7);
+ if (choisi && (msg[3] == charge))
+ ld_game((msg[4] & 7) - 1);
if (inkey == '\103') { /* F9 */
temps = do_alert(stpou, 1);
return;