Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources
This commit is contained in:
1 parent
7fff6c424f
commit
5ff847159c
1243 files changed
+29780
-36517
No files matched your search
@@ -46,9 +46,9 @@ bool FileLoader::loadFile(HANDLE mpq, char* filename, bool log)
|
||||
return false;
|
||||
}
|
||||
|
||||
data_size = SFileGetFileSize(file, NULL);
|
||||
data_size = SFileGetFileSize(file, nullptr);
|
||||
data = new uint8[data_size];
|
||||
SFileReadFile(file, data, data_size, NULL/*bytesRead*/, NULL);
|
||||
SFileReadFile(file, data, data_size, nullptr/*bytesRead*/, nullptr);
|
||||
if (prepareLoadedData())
|
||||
{
|
||||
SFileCloseFile(file);
|
||||
|
||||
Reference in new issue
Block a user