diff --git a/apps/nexus/mfile.h b/apps/nexus/mfile.h index 415e2914..4a2d1b28 100644 --- a/apps/nexus/mfile.h +++ b/apps/nexus/mfile.h @@ -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 files; diff --git a/apps/nexus/nexus.cpp b/apps/nexus/nexus.cpp index fad04415..bcc8c601 100644 --- a/apps/nexus/nexus.cpp +++ b/apps/nexus/nexus.cpp @@ -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; }