These could be handy
authorunc0rr
Sun, 09 Jun 2013 22:24:41 +0400
changeset 9161 b2f02b083374
parent 9159 3e9d4bbc4053
child 9163 67334acaaac7
These could be handy
QTfrontend/util/FileEngine.cpp
--- a/QTfrontend/util/FileEngine.cpp	Sun Jun 09 12:20:19 2013 +0200
+++ b/QTfrontend/util/FileEngine.cpp	Sun Jun 09 22:24:41 2013 +0400
@@ -327,16 +327,19 @@
 
 void FileEngineHandler::mount(const QString &path)
 {
+    qDebug(QString("[PHYSFS] Mounting '%1' to '/'").arg(path).toLocal8Bit().data());
     PHYSFS_mount(path.toUtf8().constData(), NULL, 0);
 }
 
 void FileEngineHandler::mount(const QString & path, const QString & mountPoint)
 {
+    qDebug(QString("[PHYSFS] Mounting '%1' to '%2'").arg(path).arg(mountPoint).toLocal8Bit().data());
     PHYSFS_mount(path.toUtf8().constData(), mountPoint.toUtf8().constData(), 0);
 }
 
 void FileEngineHandler::setWriteDir(const QString &path)
 {
+    qDebug(QString("[PHYSFS] Setting write dir to '%1'").arg(path).toLocal8Bit().data());
     PHYSFS_setWriteDir(path.toUtf8().constData());
 }