diff options
Diffstat (limited to 'plugins/Dbx_tree/src/DataBase.cpp')
-rw-r--r-- | plugins/Dbx_tree/src/DataBase.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Dbx_tree/src/DataBase.cpp b/plugins/Dbx_tree/src/DataBase.cpp index 37067ff350..451ce89a00 100644 --- a/plugins/Dbx_tree/src/DataBase.cpp +++ b/plugins/Dbx_tree/src/DataBase.cpp @@ -150,10 +150,7 @@ int CDataBase::LoadFile(TDBFileType Index) TGenericFileHeader h;
m_EncryptionManager[Index] = new CEncryptionManager;
- if (CMappedMemory::InitMMAP())
- m_FileAccess[Index] = new CMappedMemory(m_FileName[Index]);
- else
- m_FileAccess[Index] = new CDirectAccess(m_FileName[Index]);
+ m_FileAccess[Index] = new CMappedMemory(m_FileName[Index]);
m_FileAccess[Index]->Read(&h, 0, sizeof(h));
m_EncryptionManager[Index]->InitEncryption(h.Gen.FileEncryption);
|