diff options
author | John Willis | 2007-12-05 09:47:53 +0000 |
---|---|---|
committer | John Willis | 2007-12-05 09:47:53 +0000 |
commit | 33df167a40d5654467fa6bf813ed6d4fff9a1eb1 (patch) | |
tree | 67edf6669ca978a98230dd18c03a2ac6e3f9ebe8 /backends/platform | |
parent | 7aed821b1f1e8da7414d4ce7f3ba4766a3b53a1b (diff) | |
download | scummvm-rg350-33df167a40d5654467fa6bf813ed6d4fff9a1eb1.tar.gz scummvm-rg350-33df167a40d5654467fa6bf813ed6d4fff9a1eb1.tar.bz2 scummvm-rg350-33df167a40d5654467fa6bf813ed6d4fff9a1eb1.zip |
Change to default volume levels on the GP2X to prevent some nasty 'clipping'.
svn-id: r29721
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/gp2x/gp2x.cpp | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp index 3cf5df2e3a..724731aafb 100644 --- a/backends/platform/gp2x/gp2x.cpp +++ b/backends/platform/gp2x/gp2x.cpp @@ -163,9 +163,9 @@ void OSystem_GP2X::initBackend() { // Setup other defaults. ConfMan.registerDefault("aspect_ratio", true); - ConfMan.registerDefault("music_volume", 250); // Up default volume as we use a seperate volume system anyway. - ConfMan.registerDefault("sfx_volume", 250); - ConfMan.registerDefault("speech_volume", 250); + ConfMan.registerDefault("music_volume", 220); // Up default volume as we use a seperate volume system anyway. + ConfMan.registerDefault("sfx_volume", 220); + ConfMan.registerDefault("speech_volume", 220); ConfMan.registerDefault("autosave_period", 3 * 60); // Trigger autosave every 3 minutes - On low batts 4 mins is about your warning time. _graphicsMutex = createMutex(); @@ -222,6 +222,24 @@ void OSystem_GP2X::initBackend() { } + //if (SDL_GP2X_MouseType() == 0) { + // // No mouse, F100 default state. + // _gp2xInputType = 0; + // displayMessageOnOSD("F100 GP2X Found"); + //} + + //if (SDL_GP2X_MouseType() == 1) { + // // USB mouse found. + // _gp2xInputType = 1; + // displayMessageOnOSD("USB Mouse Found"); + //} + + //if (SDL_GP2X_MouseType() == 2) { + // // F200 touch screen found. - F200 default state. + // _gp2xInputType = 2; + // displayMessageOnOSD("Touch Screen Found"); + //} + OSystem::initBackend(); _inited = true; |