Fix some naming mistakes in Mempak.cpp from previous commit

This commit is contained in:
Emmet Young 2012-10-06 23:55:56 +10:00
parent c72f2150e3
commit f3b672ec37
1 changed files with 3 additions and 3 deletions

View File

@ -49,12 +49,12 @@ void LoadMempak (void) {
FileName.CreateDirectory();
}
hMempakFile = CreateFile(File,GENERIC_WRITE | GENERIC_READ, FILE_SHARE_READ,NULL,OPEN_ALWAYS,
hMempakFile = CreateFile(FileName,GENERIC_WRITE | GENERIC_READ, FILE_SHARE_READ,NULL,OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS, NULL);
if (m_hFile == INVALID_HANDLE_VALUE)
if (hMempakFile == INVALID_HANDLE_VALUE)
{
WriteTraceF(TraceError,"Mempak::LoadMempak: Failed to open (%s), ReadOnly = %d, LastError = %X",(LPCTSTR)FileName, m_ReadOnly, GetLastError());
WriteTraceF(TraceError,"Mempak::LoadMempak: Failed to open (%s), lastError = %X",(LPCTSTR)FileName, GetLastError());
return;
}