diff options
author | John Willis | 2010-10-20 13:00:58 +0000 |
---|---|---|
committer | John Willis | 2010-10-20 13:00:58 +0000 |
commit | 4e936522eeb0de8092ad74e8522b885550d934cb (patch) | |
tree | 38126aac0dcdf2094d71d0ec901b918e15330b4b /backends/platform/gph/gph-main.cpp | |
parent | 14e82dbe7f25c1a31cc8afbc712ee0246c7706dc (diff) | |
download | scummvm-rg350-4e936522eeb0de8092ad74e8522b885550d934cb.tar.gz scummvm-rg350-4e936522eeb0de8092ad74e8522b885550d934cb.tar.bz2 scummvm-rg350-4e936522eeb0de8092ad74e8522b885550d934cb.zip |
GPH: Cleanup Readme and support scripts.
GP2X: Cleanup Readme.
SDL: Change a few backend defines to GPH_DEVICE from the device name (blocking main and loadGFXMode so they can be written elsewhere).
svn-id: r53639
Diffstat (limited to 'backends/platform/gph/gph-main.cpp')
-rw-r--r-- | backends/platform/gph/gph-main.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/gph/gph-main.cpp b/backends/platform/gph/gph-main.cpp index 727d599cc8..71f9f77bfc 100644 --- a/backends/platform/gph/gph-main.cpp +++ b/backends/platform/gph/gph-main.cpp @@ -26,6 +26,7 @@ #include "common/scummsys.h" #include <SDL/SDL.h> +// #include "backends/platform/gph/gph-options.h" #include "backends/platform/gph/gph-sdl.h" #include "backends/platform/gph/gph-hw.h" #include "backends/plugins/posix/posix-provider.h" @@ -78,7 +79,7 @@ void OSystem_GPH::initBackend() { char workDirName[PATH_MAX+1]; if (getcwd(workDirName, PATH_MAX) == NULL) { - error("Could not obtain current working directory"); + error("Could not obtain current working directory."); } else { printf("Current working directory: %s\n", workDirName); } @@ -158,6 +159,9 @@ void OSystem_GPH::initBackend() { /* Make sure SDL knows that we have a joystick we want to use. */ ConfMan.setInt("joystick_num", 0); + /* Now setup any device specific user options (Left handed mode, that sort of thing). */ + // GPH::setOptions(); + printf("%s\n", "Passing to OSystem::SDL initBackend."); /* Pass to SDL backend to do the heavy lifting */ @@ -170,7 +174,7 @@ void OSystem_GPH::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) char workDirName[PATH_MAX+1]; if (getcwd(workDirName, PATH_MAX) == NULL) { - error("Error: Could not obtain current working directory"); + error("Error: Could not obtain current working directory."); } Common::FSNode workdirNode(workDirName); |