[Scummvm-tracker] [ScummVM :: Bugs] #14455: GRIM: Excessive save game scanning/checking wastes FPS

ScummVM :: Bugs trac at scummvm.org
Fri Jan 12 20:45:24 UTC 2024


#14455: GRIM: Excessive save game scanning/checking wastes FPS
--------------------+----------------------------
Reporter:  raziel-  |       Owner:  (none)
    Type:  defect   |      Status:  new
Priority:  high     |   Component:  Engine: Grim
 Version:           |  Resolution:
Keywords:           |        Game:  Grim Fandango
--------------------+----------------------------
Comment (by wjp):

 I wonder if this could be the cloud support code.

 The intro script seems to periodically open and write to `grimdialog.htm`
 from lua. This calls `DefaultSaveFileManager::openForSaving()`, which
 calls `DefaultSaveFileManager::loadTimestamps()` when cloud support is
 enabled, which calls `DefaultSaveFileManager::updateSavefilesList()` to
 clear `_saveFileCache`, and then repopulates the full cache by calling
 `listSavefiles()`

 I'm not at all familiar with the cloud sync logic, but this seems rather
 excessive for updating a single timestamp...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14455#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list