[Scummvm-tracker] [ScummVM :: Bugs] #11366: Problem with save file on mobile devices

ScummVM :: Bugs trac at scummvm.org
Sun May 24 15:56:05 UTC 2020


#11366: Problem with save file on mobile devices
----------------------------------------+---------------------------
  Reporter:  Schnida                    |      Owner:  (none)
      Type:  defect                     |     Status:  new
  Priority:  normal                     |  Component:  Engine: SCUMM
Resolution:                             |   Keywords:
      Game:  Putt-Putt Enters the Race  |
----------------------------------------+---------------------------
Changes (by digitall):

 * component:  Port: PSP Vita => Engine: SCUMM

Comment:

 That error message is from the SCUMM engine when loadState function
 returns not success:
 https://github.com/scummvm/scummvm/blob/master/engines/scumm/scumm.cpp#L2466

 The loadState function is here:
 https://github.com/scummvm/scummvm/blob/master/engines/scumm/saveload.cpp#L320

 That should emit a warning if it fails in most cases... Is there one
 before the error message?

 I think the only case where it can return false without a warning is when
 openSaveFileForReading(slot, compat, filename) fails:
 https://github.com/scummvm/scummvm/blob/master/engines/scumm/saveload.cpp#L324

 That is defined here where it just calls openForSaving from the
 _saveFileMan (Save File Manager) which I think is a platform specific
 singleton:
 https://github.com/scummvm/scummvm/blob/master/engines/scumm/saveload.cpp#L155

 Hmm I would suspect the issue is either in SaveFileMan when using accented
 characters or an issue with makeSavefileName i.e.
 https://github.com/scummvm/scummvm/blob/master/engines/scumm/saveload.cpp#L595
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11366#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list