SCI32: Fix deleting save games in native save/load dialogue
This commit is contained in:
parent
5cca33702d
commit
ac95f2595b
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ reg_t kMakeSaveFileName(EngineState *s, int argc, reg_t *argv) {
|
|||
SciArray &outFileName = *s->_segMan->lookupArray(argv[0]);
|
||||
// argv[1] is the game name, which is not used by ScummVM
|
||||
const int16 saveNo = argv[2].toSint16();
|
||||
outFileName.fromString(g_sci->getSavegameName(saveNo));
|
||||
outFileName.fromString(g_sci->getSavegameName(saveNo + kSaveIdShift));
|
||||
return argv[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue