equal
deleted
inserted
replaced
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 qDebug(QString("[PHYSFS] Mounting '%1' to '/'").arg(path).toLocal8Bit().data()); |
330 PHYSFS_mount(path.toUtf8().constData(), NULL, 0); |
331 PHYSFS_mount(path.toUtf8().constData(), NULL, 0); |
331 } |
332 } |
332 |
333 |
333 void FileEngineHandler::mount(const QString & path, const QString & mountPoint) |
334 void FileEngineHandler::mount(const QString & path, const QString & mountPoint) |
334 { |
335 { |
|
336 qDebug(QString("[PHYSFS] Mounting '%1' to '%2'").arg(path).arg(mountPoint).toLocal8Bit().data()); |
335 PHYSFS_mount(path.toUtf8().constData(), mountPoint.toUtf8().constData(), 0); |
337 PHYSFS_mount(path.toUtf8().constData(), mountPoint.toUtf8().constData(), 0); |
336 } |
338 } |
337 |
339 |
338 void FileEngineHandler::setWriteDir(const QString &path) |
340 void FileEngineHandler::setWriteDir(const QString &path) |
339 { |
341 { |
|
342 qDebug(QString("[PHYSFS] Setting write dir to '%1'").arg(path).toLocal8Bit().data()); |
340 PHYSFS_setWriteDir(path.toUtf8().constData()); |
343 PHYSFS_setWriteDir(path.toUtf8().constData()); |
341 } |
344 } |
342 |
345 |
343 void FileEngineHandler::mountPacks() |
346 void FileEngineHandler::mountPacks() |
344 { |
347 { |