SCI21: kSave(1) is kRestoreGame
This commit is contained in:
parent
e286b1b5f1
commit
9cc12cfc97
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue