Code: Select all
device->getFileSystem()->addFileArchive()
I could identify the source of the crash:
CFileSystem.cpp line 846:
Code: Select all
while( _tfindnext( hFile, &c_file ) == 0 );
The following solves the bug:
Code: Select all
--- source/Irrlicht/CFileSystem.cpp (revision 4309)
+++ source/Irrlicht/CFileSystem.cpp (working copy)
@@ -835,7 +835,7 @@
r = new CFileList(Path, true, false);
struct _tfinddata_t c_file;
- long hFile;
+ intptr_t hFile;
if( (hFile = _tfindfirst( _T("*"), &c_file )) != -1L )
{
wombat