QTfrontend/util/FileEngine.cpp
changeset 8714 ab201a62d115
parent 8440 ea4d6a7a2937
child 9161 b2f02b083374
equal deleted inserted replaced
8713:5611011e40b5 8714:ab201a62d115
   325         return NULL;
   325         return NULL;
   326 }
   326 }
   327 
   327 
   328 void FileEngineHandler::mount(const QString &path)
   328 void FileEngineHandler::mount(const QString &path)
   329 {
   329 {
   330     PHYSFS_mount(path.toUtf8().constData(), NULL, 1);
   330     PHYSFS_mount(path.toUtf8().constData(), NULL, 0);
   331 }
   331 }
   332 
   332 
   333 void FileEngineHandler::mount(const QString & path, const QString & mountPoint)
   333 void FileEngineHandler::mount(const QString & path, const QString & mountPoint)
   334 {
   334 {
   335     PHYSFS_mount(path.toUtf8().constData(), mountPoint.toUtf8().constData(), 1);
   335     PHYSFS_mount(path.toUtf8().constData(), mountPoint.toUtf8().constData(), 0);
   336 }
   336 }
   337 
   337 
   338 void FileEngineHandler::setWriteDir(const QString &path)
   338 void FileEngineHandler::setWriteDir(const QString &path)
   339 {
   339 {
   340     PHYSFS_setWriteDir(path.toUtf8().constData());
   340     PHYSFS_setWriteDir(path.toUtf8().constData());