aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/CascRootFile_Mndx.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-08-17 17:31:02 +0200
committerShauren <shauren.trinity@gmail.com>2017-08-17 17:31:02 +0200
commit3f3991362848d80721dc8f4607518a9e451b60ad (patch)
treec82ad06fef28508be3e2847f7ad643cf26bd55d1 /dep/CascLib/src/CascRootFile_Mndx.cpp
parent43d268d75c8b5afae94983f19363ac0e484e4afb (diff)
Dep/CascLib: Update to ladislav-zezula/CascLib@fb9442155352b36e56b74a6c0d265b3b62d20e3a
Diffstat (limited to 'dep/CascLib/src/CascRootFile_Mndx.cpp')
-rw-r--r--dep/CascLib/src/CascRootFile_Mndx.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/dep/CascLib/src/CascRootFile_Mndx.cpp b/dep/CascLib/src/CascRootFile_Mndx.cpp
index 1c193ea9498..20e3c86e3a6 100644
--- a/dep/CascLib/src/CascRootFile_Mndx.cpp
+++ b/dep/CascLib/src/CascRootFile_Mndx.cpp
@@ -91,14 +91,6 @@ typedef struct _CASC_ROOT_ENTRY_MNDX
} CASC_ROOT_ENTRY_MNDX, *PCASC_ROOT_ENTRY_MNDX;
//-----------------------------------------------------------------------------
-// Testing functions prototypes
-
-#if defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST)
-extern "C" bool _cdecl sub_1958B00_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C);
-void TestMndxRootFile(PCASC_MNDX_INFO pMndxInfo);
-#endif
-
-//-----------------------------------------------------------------------------
// Local variables
unsigned char table_1BA1818[0x800] =
@@ -3345,8 +3337,9 @@ int RootHandler_CreateMNDX(TCascStorage * hs, LPBYTE pbRootFile, DWORD cbRootFil
// Unit tests
#if defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST)
-
+/*
extern "C" {
+ bool _cdecl sub_1958B00_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C);
DWORD _cdecl sub_19573D0_x86(TFileNameDatabase * pDB, DWORD arg_0, DWORD arg_4);
DWORD _cdecl sub_1957EF0_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C);
bool _cdecl sub_1959460_x86(TFileNameDatabase * pDB, TMndxFindResult * pStruct1C);
@@ -3390,7 +3383,7 @@ static int sub_1956CE0_x86(TFileNameDatabasePtr * pDatabasePtr, TMndxFindResult
*pbFindResult = sub_1959460_x86(pDatabasePtr->pDB, pStruct1C);
return nError;
}
-/*
+
static void TestFileSearch_SubStrings(PMAR_FILE pMarFile, char * szFileName, size_t nLength)
{
TMndxFindResult Struct1C_1;
@@ -3437,7 +3430,6 @@ static void TestFileSearch_SubStrings(PMAR_FILE pMarFile, char * szFileName, siz
nLength--;
}
}
-*/
static void TestFindPackage(PMAR_FILE pMarFile, const char * szPackageName)
{
@@ -3621,4 +3613,5 @@ void TestMndxRootFile(PCASC_MNDX_INFO pMndxInfo)
ListFile_Free(pvListFile);
}
}
+*/
#endif // defined(_DEBUG) && defined(_X86_) && defined(CASCLIB_TEST)