This commit is contained in:
Kulikova Svetlana
2022-12-20 16:12:05 +03:00
parent eb169b49ed
commit b7fc8748d2

View File

@ -120,7 +120,12 @@ DWORD GetLength(BYTE* x)
bool GlobalParamsAdaptor::GetCMap(const char* sName, char*& pData, unsigned int& nSize)
{
if (!m_bCMapData)
return false;
{
if (m_wsCMapFolder.empty())
SetCMapFile(NSFile::GetProcessDirectory() + L"/cmap.bin");
if (!m_bCMapData)
return false;
}
DWORD i = 0;
while (i < m_nCMapDataLength)