aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2001-10-16 20:31:27 +0000
committerLudvig Strigeus2001-10-16 20:31:27 +0000
commita732f32eb09a880d658cea55f1d8120a8c4ea2d6 (patch)
treef8735651d400e7094cfa15e63032b08da61a2eab /sdl.cpp
parenteebe5f2f73ddede3051c06f5f47294559784363a (diff)
downloadscummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.gz
scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.bz2
scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.zip
misc fixes
svn-id: r3435
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/sdl.cpp b/sdl.cpp
index f54229e3d4..e309f6107a 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -17,6 +17,9 @@
*
* Change Log:
* $Log$
+ * Revision 1.9 2001/10/16 20:31:27 strigeus
+ * misc fixes
+ *
* Revision 1.8 2001/10/16 10:01:48 strigeus
* preliminary DOTT support
*
@@ -220,10 +223,9 @@ void updateScreen(Scumm *s) {
}
if(s->_palDirtyMax != -1) {
+ /* this updates the screen automatically */
updatePalette(s);
- }
-
- if (fullRedraw) {
+ } else if (fullRedraw) {
SDL_UpdateRect(screen, 0,0,0,0);
#if defined(SHOW_AREA)
debug(2,"update area 100 %%");
@@ -346,7 +348,13 @@ void initGraphics(Scumm *s) {
#undef main
int main(int argc, char* argv[]) {
+#if defined(DOTT)
+ scumm._exe_name = "tentacle";
+#elif defined(INDY4)
+ scumm._exe_name = "atlantis";
+#else
scumm._exe_name = "monkey2";
+#endif
scumm._videoMode = 0x13;
scumm.scummMain(argc, argv);
return 0;