[Scummvm-devel] ...to be or not to be?

sunmax at libero.it sunmax at libero.it
Sun Feb 22 02:24:13 CET 2009


Hi there!

Why is the existence of every resource checked 4 times, before
eventually opening it?

FIO: dopen(mass:) => 4
FIO: dclose(4) => 0
Ps2FilesystemNode::exists: "mass:scummvm/indy4/monster.sog":   yes [stat]
Ps2FilesystemNode::exists: "mass:scummvm/indy4/monster.sog":   yes [stat]
Ps2FilesystemNode::exists: "mass:scummvm/indy4/monster.sog":   yes [stat]
Ps2FilesystemNode::exists: "mass:scummvm/indy4/monster.sog":   yes [stat]
Ps2FilesystemNode::openForReading (a)
fopen(mass:scummvm/indy4/monster.sog, rb)
open mass:scummvm/indy4/monster.sog [4]

I stay tuned for an optimized ontological solution ;-)

Ciao,
 -max





More information about the Scummvm-devel mailing list