[Scummvm-devel] kyra.dat
Johannes Schickel
lordhoto at scummvm.org
Sun Jul 12 21:26:51 CEST 2009
sunmax at libero.it wrote:
> Hi Johannes,
>
> could we please cache kyra.dat for 1.0.0?
>
> Just keep it open, the cache is already in PS2 FS backend.
>
> It's opened quite a few times on engine start...
>
Currently there's no API in Kyra to do that. IMHO if you really need to
cache such accesses, why don't you create an cache in your backend? You
could overwrite fopen / fclose for that. Or just overwrite
FSNode::createReadStream directly. If you do that backend wise, all
engines might profit from it.
If my memory is not totally bad the DS port does something like that.
// Johannes
More information about the Scummvm-devel
mailing list