[Scummvm-devel] PlaysStation2 : duplicated files detection & checking

Eugene Sandulenko sev at scummvm.org
Mon Jul 14 01:20:41 CEST 2008


On Sun, 13 Jul 2008 21:42:01 +0200
"sunmax\@libero\.it" <sunmax at libero.it> wrote:

> Could we implement it as an option at least for consoles,
> to speed up game detections and start?
I see no need for that.

We cache all file names in a hash in File class. Then instead of
attempts to open the file each time from your media you should try to
search it in that hash first, and open files only when they really
exist.


Eugene




More information about the Scummvm-devel mailing list