SCI21: kSave(1) is kRestoreGame

This commit is contained in:
md5 2011-03-04 00:18:36 +02:00
parent e286b1b5f1
commit 9cc12cfc97

View file

@ -1156,10 +1156,11 @@ reg_t kCD(EngineState *s, int argc, reg_t *argv) {
reg_t kSave(EngineState *s, int argc, reg_t *argv) {
switch (argv[0].toUint16()) {
case 0: // Called by kq7 when starting chapters
case 0:
return kSaveGame(s, argc - 1,argv + 1);
case 2: // GetSaveDir
// Yay! Reusing the old kernel function!
case 1:
return kRestoreGame(s, argc - 1,argv + 1);
case 2:
return kGetSaveDir(s, argc - 1, argv + 1);
case 5:
// TODO