summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp14
-rw-r--r--plugins/Db3x_mmap/src/dbintfm.cpp14
2 files changed, 14 insertions, 14 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index a6b579fc0d..07634ae46d 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -190,20 +190,6 @@ static CheckWorker Workers[6] =
&CDb3Base::WorkFinalTasks
};
-int CDb3Mmap::PrepareCheck()
-{
- int ret = CheckDbHeaders();
- if (ret != ERROR_SUCCESS)
- return ret;
-
- InitCache();
- InitModuleNames();
- if ((ret = InitCrypt()) != ERROR_SUCCESS)
- return ret;
-
- return ERROR_SUCCESS;
-}
-
int CDb3Base::Start(DBCHeckCallback *callback)
{
cb = callback;
diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp
index d917ef300d..83d113e70c 100644
--- a/plugins/Db3x_mmap/src/dbintfm.cpp
+++ b/plugins/Db3x_mmap/src/dbintfm.cpp
@@ -44,3 +44,17 @@ int CDb3Mmap::Load(bool bSkipInit)
return res;
}
+
+int CDb3Mmap::PrepareCheck()
+{
+ int ret = CheckDbHeaders();
+ if (ret != ERROR_SUCCESS)
+ return ret;
+
+ InitCache();
+ InitModuleNames();
+ if ((ret = InitCrypt()) != ERROR_SUCCESS)
+ return ret;
+
+ return ERROR_SUCCESS;
+}