aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ps2
diff options
context:
space:
mode:
authorMax Horn2009-10-09 10:03:45 +0000
committerMax Horn2009-10-09 10:03:45 +0000
commite6dd7e24f29ba6aa76a1b9361a480e6d099a3667 (patch)
tree20a9a366f9da9de96a3f6faa689bf32498e73083 /backends/fs/ps2
parentb846fd6aca31916383b9656c40ba0be6ea6f3ed0 (diff)
downloadscummvm-rg350-e6dd7e24f29ba6aa76a1b9361a480e6d099a3667.tar.gz
scummvm-rg350-e6dd7e24f29ba6aa76a1b9361a480e6d099a3667.tar.bz2
scummvm-rg350-e6dd7e24f29ba6aa76a1b9361a480e6d099a3667.zip
PS2: Fix warning, use fully qualified path for backend specific header ps2temp.h
svn-id: r44811
Diffstat (limited to 'backends/fs/ps2')
-rw-r--r--backends/fs/ps2/ps2-fs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp
index c5abf31f8d..c8d27e4890 100644
--- a/backends/fs/ps2/ps2-fs.cpp
+++ b/backends/fs/ps2/ps2-fs.cpp
@@ -35,7 +35,7 @@
#include <fileXio_rpc.h>
-#include "ps2temp.h"
+#include "backends/platform/ps2/ps2temp.h"
#define DEFAULT_MODE (FIO_S_IRUSR | FIO_S_IWUSR | FIO_S_IRGRP | FIO_S_IWGRP | FIO_S_IROTH | FIO_S_IWOTH)
@@ -60,7 +60,7 @@ protected:
bool _verified;
private:
- char *getDeviceDescription() const;
+ const char *getDeviceDescription() const;
void doverify();
public:
@@ -488,7 +488,7 @@ AbstractFSNode *Ps2FilesystemNode::getParent() const {
return new Ps2FilesystemNode(str, true);
}
-char *Ps2FilesystemNode::getDeviceDescription() const {
+const char *Ps2FilesystemNode::getDeviceDescription() const {
if (strncmp(_path.c_str(), "cdfs", 4) == 0)
return "DVD Drive";
else if (strncmp(_path.c_str(), "pfs0", 4) == 0)