aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2004-05-25 13:22:50 +0000
committerChris Apers2004-05-25 13:22:50 +0000
commit7dcb1b76d90bcb96e83c1c60e5bd3cbccf7c61d3 (patch)
treeaeed5cfb52760f2e6e4e2af0a789c18ff529cd0d
parentbaeba25ed3f6d52d2441757d37eef7497ad506ed (diff)
downloadscummvm-rg350-7dcb1b76d90bcb96e83c1c60e5bd3cbccf7c61d3.tar.gz
scummvm-rg350-7dcb1b76d90bcb96e83c1c60e5bd3cbccf7c61d3.tar.bz2
scummvm-rg350-7dcb1b76d90bcb96e83c1c60e5bd3cbccf7c61d3.zip
Updated form handlers
svn-id: r13865
-rw-r--r--backends/PalmOS/Src/start.cpp16
-rw-r--r--backends/PalmOS/Src/start.h14
2 files changed, 13 insertions, 17 deletions
diff --git a/backends/PalmOS/Src/start.cpp b/backends/PalmOS/Src/start.cpp
index 886b7d141b..89cc7de8da 100644
--- a/backends/PalmOS/Src/start.cpp
+++ b/backends/PalmOS/Src/start.cpp
@@ -212,16 +212,8 @@ static Boolean AppHandleEvent(EventPtr eventP)
FrmSetEventHandler(frmP, EditGameFormHandleEvent);
break;
- case MiscOptionsForm:
- FrmSetEventHandler(frmP, MiscOptionsFormHandleEvent);
- break;
-
- case VolumeForm:
- FrmSetEventHandler(frmP, VolumeFormHandleEvent);
- break;
-
- case SoundForm:
- FrmSetEventHandler(frmP, SoundFormHandleEvent);
+ case MiscForm:
+ FrmSetEventHandler(frmP, MiscFormHandleEvent);
break;
case SystemInfoForm:
@@ -232,6 +224,10 @@ static Boolean AppHandleEvent(EventPtr eventP)
FrmSetEventHandler(frmP, CardSlotFormHandleEvent);
break;
+ case MusicForm:
+ FrmSetEventHandler(frmP, MusicFormHandleEvent);
+ break;
+
default:
// ErrFatalDisplay("Invalid Form Load Event");
break;
diff --git a/backends/PalmOS/Src/start.h b/backends/PalmOS/Src/start.h
index 4773a4636b..dbaaba3d02 100644
--- a/backends/PalmOS/Src/start.h
+++ b/backends/PalmOS/Src/start.h
@@ -60,29 +60,29 @@ typedef struct {
Boolean fullscreen;
Boolean aspectRatio;
Boolean copyProtection;
+ Boolean arm;
struct {
- UInt16 speaker;
- UInt16 headphone;
-
UInt16 master;
UInt16 music;
UInt16 sfx;
+ UInt16 speech;
} volume;
struct {
// midi
Boolean multiMidi;
Boolean music;
- UInt8 driver;
+ UInt8 drvMusic;
UInt8 tempo;
+ // sound FX
+ Boolean sfx;
// CD audio
- Boolean MP3;
+ Boolean CD;
+ UInt8 drvCD;
Boolean setDefaultTrackLength;
UInt16 defaultTrackLength;
UInt16 firstTrack;
- // sound FX
- Boolean sfx;
} sound;
} GlobalsPreferenceType, *GlobalsPreferencePtr;