aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2004-09-12 13:41:28 +0000
committerChris Apers2004-09-12 13:41:28 +0000
commit7afd085317c20420a2d80e70d4ffef5cd1b2a258 (patch)
treef6025a4467618111c7ff6c6cca793eb6790b9e9e /backends
parent3c01d453d5246e58deb881ff340cbbb7d8d332bc (diff)
downloadscummvm-rg350-7afd085317c20420a2d80e70d4ffef5cd1b2a258.tar.gz
scummvm-rg350-7afd085317c20420a2d80e70d4ffef5cd1b2a258.tar.bz2
scummvm-rg350-7afd085317c20420a2d80e70d4ffef5cd1b2a258.zip
This is now defined for each games
svn-id: r15061
Diffstat (limited to 'backends')
-rw-r--r--backends/PalmOS/Src/forms/formMisc.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/backends/PalmOS/Src/forms/formMisc.cpp b/backends/PalmOS/Src/forms/formMisc.cpp
index 0e0c9721e6..4235280662 100644
--- a/backends/PalmOS/Src/forms/formMisc.cpp
+++ b/backends/PalmOS/Src/forms/formMisc.cpp
@@ -16,10 +16,11 @@
*
*
***********************************************************************/
-static Boolean stackChanged = false;
static TabType *myTabP;
static UInt16 lastTab = 0;
+static Boolean stackChanged = false;
+
static UInt32 StackSize(UInt32 newSize) {
MemHandle pref = DmGetResource('pref',0);
UInt32 size = 0;
@@ -51,9 +52,8 @@ static Boolean ScummVMTabSave() {
cckP[3] = (ControlType *)GetObjectPtr(TabScummVMDebugCheckbox);
cckP[6] = (ControlType *)GetObjectPtr(TabScummVMDemoCheckbox);
- cckP[7] = (ControlType *)GetObjectPtr(TabScummVMFullscreenCheckbox);
- cckP[8] = (ControlType *)GetObjectPtr(TabScummVMAspectRatioCheckbox);
cckP[9] = (ControlType *)GetObjectPtr(TabScummVMCopyProtectionCheckbox);
+ cckP[10]= (ControlType *)GetObjectPtr(TabScummVMAltIntroCheckbox);
frmP = FrmGetActiveForm();
if (FldGetTextLength(fld1P) == 0 && CtlGetValue(cckP[3]) == 1) {
@@ -65,9 +65,8 @@ static Boolean ScummVMTabSave() {
gPrefs->debug = CtlGetValue(cckP[3]);
gPrefs->demoMode = CtlGetValue(cckP[6]);
- gPrefs->fullscreen = CtlGetValue(cckP[7]);
- gPrefs->aspectRatio = CtlGetValue(cckP[8]);
gPrefs->copyProtection = CtlGetValue(cckP[9]);
+ gPrefs->altIntro = CtlGetValue(cckP[10]);
gPrefs->debugLevel = StrAToI(FldGetTextPtr(fld1P));
@@ -104,9 +103,8 @@ static void ScummVMTabInit() {
CtlSetValue((ControlType *)GetObjectPtr(TabScummVMDebugCheckbox), gPrefs->debug);
CtlSetValue((ControlType *)GetObjectPtr(TabScummVMDemoCheckbox), gPrefs->demoMode);
- CtlSetValue((ControlType *)GetObjectPtr(TabScummVMFullscreenCheckbox), gPrefs->fullscreen);
- CtlSetValue((ControlType *)GetObjectPtr(TabScummVMAspectRatioCheckbox), gPrefs->aspectRatio);
CtlSetValue((ControlType *)GetObjectPtr(TabScummVMCopyProtectionCheckbox), gPrefs->copyProtection);
+ CtlSetValue((ControlType *)GetObjectPtr(TabScummVMAltIntroCheckbox), gPrefs->altIntro);
fld1P = (FieldType *)GetObjectPtr(TabScummVMDebugLevelField);