From 33df167a40d5654467fa6bf813ed6d4fff9a1eb1 Mon Sep 17 00:00:00 2001 From: John Willis Date: Wed, 5 Dec 2007 09:47:53 +0000 Subject: Change to default volume levels on the GP2X to prevent some nasty 'clipping'. svn-id: r29721 --- backends/platform/gp2x/gp2x.cpp | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'backends/platform') 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; -- cgit v1.2.3