diff options
author | Robert Göffringmann | 2005-02-21 02:29:18 +0000 |
---|---|---|
committer | Robert Göffringmann | 2005-02-21 02:29:18 +0000 |
commit | fd5a9be26e1df1171b37ae64ef7cc5ea4584793f (patch) | |
tree | 1caf41c615f01fda9172a3b13a9bee8e3cd4fec3 /scumm/script_v90he.cpp | |
parent | 6942100a940ac4ff8cf43f0c0e29f358adcf4175 (diff) | |
download | scummvm-rg350-fd5a9be26e1df1171b37ae64ef7cc5ea4584793f.tar.gz scummvm-rg350-fd5a9be26e1df1171b37ae64ef7cc5ea4584793f.tar.bz2 scummvm-rg350-fd5a9be26e1df1171b37ae64ef7cc5ea4584793f.zip |
removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses.
Also, the caching of datafiles depends on the memory usage now, not on the number of screens that the player entered in the meantime.
The old behaviour made the engine run out of memory on the PS2.
svn-id: r16843
Diffstat (limited to 'scumm/script_v90he.cpp')
0 files changed, 0 insertions, 0 deletions