aboutsummaryrefslogtreecommitdiff
path: root/wince/pocketpc.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2002-05-01 00:31:16 +0000
committerNicolas Bacca2002-05-01 00:31:16 +0000
commitb47a9a0013dd13b47c6a39e72b3d0c7636340060 (patch)
tree377a0ddffbba89187c20b95c3b8027f49329755b /wince/pocketpc.cpp
parenteda81d39ffc6753ac1a4b53f6f9c75dd80ff3245 (diff)
downloadscummvm-rg350-b47a9a0013dd13b47c6a39e72b3d0c7636340060.tar.gz
scummvm-rg350-b47a9a0013dd13b47c6a39e72b3d0c7636340060.tar.bz2
scummvm-rg350-b47a9a0013dd13b47c6a39e72b3d0c7636340060.zip
Compile with new config-file support - not used yet, this will be fixed tomorrow
svn-id: r4152
Diffstat (limited to 'wince/pocketpc.cpp')
-rw-r--r--wince/pocketpc.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/wince/pocketpc.cpp b/wince/pocketpc.cpp
index 3598691434..6ba4f0c0ef 100644
--- a/wince/pocketpc.cpp
+++ b/wince/pocketpc.cpp
@@ -34,6 +34,18 @@
GameDetector detector;
Gui gui;
Scumm *g_scumm;
+Config *scummcfg;
+
+extern void Cls();
+
+extern BOOL isPrescanning();
+extern void changeScanPath();
+extern void startScan();
+extern void endScanPath();
+extern void abortScanPath();
+
+void registry_init();
+void keypad_init();
extern void Cls();
@@ -340,6 +352,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLin
int argc = 3;
char* argv[3];
char argdir[MAX_PATH];
+
sound_activated = true;
hide_toolbar = false;
@@ -351,6 +364,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLin
if (!argv[1])
return 0;
+ scummcfg = new Config("scummvm.ini", "scummvm");
+
if (detector.detectMain(argc, argv))
return (-1);
@@ -932,7 +947,7 @@ void OSystem_WINCE3::load_gfx_mode() {
force_full = true;
_gfx_buf = (byte*)malloc((320 * 240) * sizeof(byte));
- _ms_backup = (byte*)malloc((40 * 40) * sizeof(byte));
+ _ms_backup = (byte*)malloc((40 * 40 * 3) * sizeof(byte));
}
void OSystem_WINCE3::unload_gfx_mode() {