Performance tunings.

This commit is contained in:
Federico Ponchio 2004-12-04 16:14:40 +00:00
parent d02c45b27f
commit 43d86a873b
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class MFile {
void WriteBuffer(void *data, unsigned int size);
bool IsReadOnly() { return readonly; }
void SetReadOnly(bool rd) { readonly = rd; } //USE WITH CARE!!!!
protected:
std::string filename;
std::vector<File *> files;

View File

@ -91,7 +91,7 @@ bool Nexus::Load(const string &file, bool readonly) {
//TODO support readonly
if(!patches.Load(file + ".nxp", signature, chunk_size, readonly))
return false;
if(!borders.Load(file + ".nxb", readonly, 1, 100)) return false;
if(!borders.Load(file + ".nxb", readonly, 1, 500)) return false;
return true;
}