diff options
author | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2009-05-31 10:02:16 +0000 |
commit | 0999534749f6c4edb9e4d054b95f185b829adba3 (patch) | |
tree | 55744aee72afd7cc699213a88be65938e70fa0a0 /backends/platform/gp2x | |
parent | 3b311c65d0140e8bf727910d230ffd7a7f803761 (diff) | |
download | scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.gz scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.tar.bz2 scummvm-rg350-0999534749f6c4edb9e4d054b95f185b829adba3.zip |
The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r-- | backends/platform/gp2x/gp2x.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp index 039f72e02f..62c65e8f5e 100644 --- a/backends/platform/gp2x/gp2x.cpp +++ b/backends/platform/gp2x/gp2x.cpp @@ -129,7 +129,7 @@ void OSystem_GP2X::initBackend() { if (stat(savePath, &sb) == -1) if (errno == ENOENT) // Create the dir if it does not exist if (mkdir(savePath, 0755) != 0) - warning("mkdir for '%s' failed!", savePath); + warning("mkdir for '%s' failed", savePath); ConfMan.registerDefault("savepath", savePath); @@ -144,7 +144,7 @@ void OSystem_GP2X::initBackend() { if (stat(enginedataPath, &sb) == -1) if (errno == ENOENT) // Create the dir if it does not exist if (mkdir(enginedataPath, 0755) != 0) - warning("mkdir for '%s' failed!", enginedataPath); + warning("mkdir for '%s' failed", enginedataPath); //FIXME: Do not use File::addDefaultDirectory, rather implement OSystem::addSysArchivesToSearchSet() ! Common::File::addDefaultDirectory(enginedataPath); |