equal
deleted
inserted
replaced
311 } |
311 } |
312 |
312 |
313 |
313 |
314 FileEngineHandler::FileEngineHandler(char *argv0) |
314 FileEngineHandler::FileEngineHandler(char *argv0) |
315 { |
315 { |
316 PHYSFS_init(argv0); |
316 if (!PHYSFS_init(argv0)) |
317 |
317 { |
|
318 qDebug("PHYSFS initialization failed"); |
|
319 } |
318 qDebug("%s", QString("[PHYSFS] Init: %1").arg(errorStr()).toLocal8Bit().constData()); |
320 qDebug("%s", QString("[PHYSFS] Init: %1").arg(errorStr()).toLocal8Bit().constData()); |
319 } |
321 } |
320 |
322 |
321 FileEngineHandler::~FileEngineHandler() |
323 FileEngineHandler::~FileEngineHandler() |
322 { |
324 { |